Encountering hiccups with the SMSGatewayCenter OTP SMS API? Don’t worry! This guide tackles common issues and offers solutions to keep your authentication process smooth.
Common Issues and Fixes #
- OTP Not Delivered:
- Check: Ensure
mobile
format is correct (e.g.,91xxxxxxxxxx
) and senderId is approved. - Fix: Verify DLT registration and test with a new number.
- Error Code 952 (OTP Already Verified):
- Check: Response shows
reason=OTP token is already verified
. - Fix: Use
renew=true
to generate a new OTP or ensure single-use logic in your app.
- cURL Errors:
- Check: Look for
cURL Error #
in the response. - Fix: Confirm internet connectivity and update cURL settings (e.g.,
CURLOPT_TIMEOUT
to 30).
- Slow Delivery:
- Check: High traffic or invalid
callback
URL. - Fix: Optimize your server response time and validate the callback URL.
Tips
- Log API responses for debugging.
- Test with the Postman collection from our documentation.
- Contact support if issues persist beyond these steps.
Support
Stuck? Email contact @ smsgatewaycenter.com or dial +912228657726 for help.