KorryRogers
Posts: 0
Joined: Fri Aug 15, 2014 2:53 am

Twilio Not Working

I've went through the Twilio tutorial. I've setup a proxy, encoded my SID:AuthToken in base64 in the database, and I can't get the test pages from the tutorial to work. When I try to send a message, I get this error in the console: "https://api.appery.io/rest/1/proxy/tu... 400 (Bad Request)"

When I try to view history, I get the same error.

I've got a paid Twilio account, and I'm using the live credentials.

I get this response when I try to test the premade services:

{
"status":401,
"uri":"https://api.twilio.com/2010-04-01/Acc...",
"response":{
"code":20003,
"detail":"Your AccountSid or AuthToken was incorrect.",
"message":"Authentication Error - No credentials provided",
"more_info":"https://www.twilio.com/docs/errors/20003",
"status":401
}
}

Why does it say "NO CREDENTIALS PROVIDED" Any ideas?

KorryRogers
Posts: 0
Joined: Fri Aug 15, 2014 2:53 am

Twilio Not Working

I figured it out. For some reason the proxy DOES NOT work. When in use Twilio never sees any type of authorization token at all. I just put the base64 encoded authorization straight into the twilio settings file and adjusted the services accordingly and it's working now. Is it dangerous to do it this way?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Twilio Not Working

Hi Korry -

Could you please clarify what Appery.io proxy implementation have you set for your service?

You can try the old proxy, this should work - https://devcenter.appery.io/documenta...

And could you please also clarify what do you mean by twillio settings file where you put your authorization code?

If you follow our steps here this way they be securely stored -- https://devcenter.appery.io/documenta...

Return to “Issues”