Great question — answering as the UphillTech team:
Another Twilio developer evangelist here. Think I might be able to help. The error message you got was this: The requested resource /2010-04-01/Accounts//Messages.json was not found The key point is the URL, particularly the double slash in the middle. That is where your Account Sid should be, thus leading to the 404 error. In this case, I would double check how you are setting $sid . Make sure it is assigned before you try to create the Twilio client object.
Full answer by philnash: https://stackoverflow.stackexchange.com/a/32950238 (CC BY-SA 3.0).
Need it done for your business? UphillTech.