Troubleshooting
Diagnose and resolve common WSMS issues.
This guide helps you diagnose and resolve common issues when using WSMS.
Check API Response
- Go to SMS → Outbox
- Look for error messages in failed SMS entries
- Common errors include:
- Invalid credentials
- Insufficient balance
- Invalid phone number format
Verify Phone Number Format
Phone number formatting issues are a common cause of delivery failures:
- Check if your gateway requires country code prefix
- Test with both formats:
+49123456789and0123456789 - Remove spaces and special characters
Review Server Logs
Enable WordPress debugging to capture errors:
- Add to
wp-config.php:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
- Check
wp-content/debug.logfor WSMS related errors
Common Issues
SMS Not Sending
- Verify gateway credentials are correct
- Check your SMS balance/credits
- Confirm the gateway is active in settings
- Test with your own phone number first
Wrong Sender ID
- Some gateways require pre-registered sender IDs
- Keep sender ID under 11 characters
- Use only alphanumeric characters
Delayed Delivery
- Check if scheduled sending is enabled
- Review server cron configuration
- Verify gateway isn’t experiencing delays
OTP Not Received
- Confirm phone number format matches gateway requirements
- Check spam/blocked message settings on the phone
- Verify OTP feature is enabled in settings
Gateway-Specific Issues
Each gateway may have unique requirements. Refer to your gateway’s documentation or contact their support for:
- IP whitelisting requirements
- API rate limits
- Regional restrictions
Related
- Gateway Configuration - Set up your gateway
- Custom Gateway Setup - Configure custom gateways
Last updated: December 26, 2024