Ahmed Bhaila • over 10 years ago
Messages not being delivered
Hi
I noticed that the API response today has been a little spotty. First, a few of text messages never got delivered and now as I am writing this, none of the messages are going through. I am seeing that my requests to the message endpoint are returning HTTP/1.1 202 Accepted but the messages are never delivered.
Thanks
Ahmed
Comments are closed.

9 comments
Sanjeev Mandalapu Manager • over 10 years ago
Hi Ahmed,
I am Sanjeev,and I am the API Evangelist at Whispir.
When you a get 202, it means the API request has been successful. It does not guarantee the delivery of the message yet. Whispir sends this to Telco and awaits a confirmation from it to mark the status as delivered. Usually this is very fast.. delay of 1 -2 seconds at times max.
To help trouble shoot your problem, can you check the current status of the message by making an API call to the /messagestatus endpoint?
GET https://api.whispir.com/messages/{MESSAGE_ID}/messagestatus?view=detailed&apikey={your_api_key}
This will return the status of message.
If by any chance you do not have them, please go to the https://app.whispir.it, use your api username and password to login. This is whispir's IUX platform where you can view the message status you have sent via the API (and more features).
Write back to us if you need more assistance.
Link to Documentation - https://whispir.github.io/api/#retrieve-detailed-status
Ahmed Bhaila • over 10 years ago
Hi Sanjeev
I checked the message status on app.whispir.it and and my past 12 messages or so are showing up as pending. I also did a status check on the messagestatus endpoint:
0.0%
0
100.0%
1
0.0%
0
0.0%
0
0.0%
0
Sanjeev Mandalapu Manager • over 10 years ago
Hi Ahmed,
I infer from the log that you might have exhausted your quota of SMS, and so the new ones are left in pending status.
Here, lets confirm that.Do a -
GET https://api.whispir.com
Authorization: []
this shall return you your remaining quota of SMS.
If they are 0, it means you have exhausted all the SMS for now. Please switch to using an Email/Voice for the communication and not SMS.
Cheers,
Sanjeev
Ahmed Bhaila • over 10 years ago
Ok, I understand, that also explains the reason I am seeing 0 Text messages on https://app.whispir.it That said, the application I am building relies a lot on text messaging (with response handling) so I dont know if I can use voice/email for this. Is there any possibility of increasing this quota?
Thanks
Ahmed
Justin Thompson • over 10 years ago
Hi Ahmed, let me see if we can increase the text messaging quotas for the competition. I'll come back to you shortly.
Thanks,
Justin
Justin Thompson • over 10 years ago
Hey Ahmed, we've reset the messaging quotas for ALL participants in the competition. So, you now have an extra 200 text messages and 50 voice calls. Yay! Good luck.
Ahmed Bhaila • over 10 years ago
Thanks!
Ahmed Bhaila • over 10 years ago
I have another question regarding the quota, does the quota limit resets every day or is this like a global quota that will expire after usage?
Thanks
Ahmed
Justin Thompson • over 10 years ago
Hi Ahmed, this is a quota set for the duration of the competition and not reset everyday.
Thanks,
Justin