We are trying to send SMS using the PHP SDK. It sends the SMS fine but sometimes it returns RESOURCE-NOT-FOUND / INVALID RESOURCE. I was also able to replicate this using Postman.
{
"status":"404",
"code":"RESOURCE-NOT-FOUND",
"message":"Invalid resource. Refer to API docs at https://dev.telstra.com"
}
If we try to send again then it sends successfully, it just happens randomly and sometimes it returns that error message multiple times before it actually sends the SMS. It works the first time it sends but sometimes not and need to retry once or multiple times before it sends.
We tested this using the API [POST] "messages/sms" and using the following parameters:
{
"to":"xxxxxxxxx",
"body":"Test message",
"validity":60
}
How can we prevent this from happening to make sure all SMS sent from our system is sent all the time?
Hi Mike,
You emailed us as well with the same issue. We are investigating this issue. Once we have a resolution we wil update this post.
Thanks for your patience.
Regards
Vinodh