Running into issues with the SMSGatewayCenter Verify OTP API? This guide helps you tackle common challenges and get back on track with your authentication setup.
Common Issues and Fixes #
- Invalid OTP Error:
- Check: User enters a wrong or expired OTP.
- Fix: Confirm the OTP matches the sent code and check the expiry time from the generate step.
- Error 952 (OTP Already Verified):
- Check: Response indicates
reason=OTP token is already verified
. - Fix: Ensure your app allows only one use per OTP or regenerate a new one.
- No Response:
- Check: Network or parameter issues.
- Fix: Verify
userId
,password
, andmobile
format, and test with a fresh connection.
- Delayed Verification:
- Check: High server load or incorrect setup.
- Fix: Retry after a short delay or contact support for assistance.
Tips
- Use our Postman collection (available in your dashboard) for testing.
- Log responses for easier debugging.
- Reach out if problems persist.
Support
Stuck? Email contact @ smsgatewaycenter.com or dial +912228657726 for help.