It looks like the error is coming from Twilio. It would be hard for us to say what the root cause it. I recommend reaching out to them to see what they’d say.
Hi @Tim_Jones
Have you managed to resolve this issue? I started to get same error, right after I published my app. When I troubleshoot the cloud code, I receive the same error if invoking service with my custom domain, but when using BackendLess subdomain the call is successful. @mark-piller is there anything that needs to be done additionally after publishing app?
There is no domain configuration on Twilio side.
Do you also use the Twillio API Service?
It should not make any difference where you call the API service from because inside the service it just make a request to the twillio server
Hi @vladimir-upirov
Yes I’m using Twilio API service.
And similarly as for @Tim_Jones I no longer have this issue and API service works as expected (didn’t change anything either).
Will introduce error handling for end users to be aware if it repeats at some point.
@vladimir-upirov While I’m waiting on Twilio support for more details, I also notice such error in logs:
10:20:32.787 | SERVER_CODE | INFO | [828834] Building ServerCode Model for path (/opt/backendless/repo/f001f3bf-4ccd-b35e-ffd0-23845dee6000/files/servercode/CODELESS/Phone/PRODUCTION)
10:20:32.788 | SERVER_CODE | INFO | [828834] ServerCode Model built in 6ms
at checkStatus (/usr/local/lib/node_modules/backendless-coderunner/node_modules/backendless-request/lib/request.js:343:9) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
10:20:33.817 | SERVER_CODE | INFO | [828834] Processing finished in 1043.496ms
Could it have any useful information to undersatnd what actually is happening?
Thank you @vladimir-upirov
Uninstalled and reinstalled Twilio Api Service.
Tested with previously used phone number but looks like Twilio now is blocking outgoing SMS to that particular number.
So tried with another phone number and so far all works correct.