How to debug if my API is not working?
There can be different reasons behind your API not working properly. We provide error codes according to the reason of API failure.
On hitting the API, if you face any issue, you can debug the API in the following manner:
- Check the response received on calling the API.
- If a Request ID is generated on hitting the API, this means that your SMS is successfully submitted to MSG91. If your message gets failed due to any problem with API you can find the reason for the failure in the failed API section.
- An error will be displayed instead of Request ID* if your SMS is not submitted successfully. You can find the reason behind it in our list of error codes and remove the error accordingly.
You may contact our support for any related query.