Reputation: 179
I need some help with twilio API. I'm using php, I need to send an sms with the RESTFUL API.
First I get an error with ssl. I need to disable the ssl checker. Then I get this error msg :
Services_Twilio_RestException' with message 'The requested resource /2010-04-01/Accounts/ibmblue/Messages.json was not found
How do I fix this error?
Upvotes: 2
Views: 2896
Reputation: 201
There are two possible reasons for that 1: you have not created the Messaging Service Id (SID) in Twilio. so make sure to create the SID 2: Make sure to use the same SID in the code that you have create in Twilio account.
Upvotes: 1
Reputation: 73027
Twilio developer evangelist here.
For your SSL issue, disabling the SSL checker is likely the wrong solution. There are some ways to fix SSL issues here.
As for the other issue, I can see within the URL that is causing a 404 that you have used the Account SID ibmblue
. That doesn't look like an Account SID to me. You need to find your Account SID on your Twilio console. It should be listed underneath the title "Account summary" and start "AC...". Ensure you have your Account SID set correctly and your API calls should start to work.
Let me know if that helps at all.
Upvotes: 4