Menu

Expand
Rate this page:

Error 20404

Product: Platform

Not Found

The resource was not found. Here are some examples of cases that may trigger a 404 error.

  • Requesting a resource for a sid that does not exist, for example

    GET /2010-04-01/Accounts/AC123/Calls/CA123
    

    where CA123 is not a call sid that exists for your account

  • Trying to retrieve a resource that doesn't exist, for example

    GET /2010-04-01/Accounts/AC123/TwilioCalls/CA123
    

    where the resource name is Calls, not TwilioCalls. Note that the API is case sensitive, so requesting "calls" instead of "Calls" will also return a 404.

  • Missing a sid in the request path. For example, let's say I accidentally don't set a value for a call sid, using the PHP helper library:

    $callSid = null;
    $client->account->calls->get($callSid);
    

    This may turn into

    GET /2010-04-01/Accounts/AC123/Calls/.json
    

    because of the nonexistent sid, which may 404 your request or give you back a result you were not expecting. Or, you may initialize the client with an empty string for an account sid, which means the URL will get truncated in the middle (note the consecutive slashes):

    GET /2010-04-01/Accounts//Calls/CA123.json
    
  • Using a base URL that is not https://api.twilio.com. For example, making requests to https://twilio.com or https://www.twilio.com will not work.

Rate this page:

Thank you for your feedback!

We are always striving to improve our documentation quality, and your feedback is valuable to us. Please select the reason(s) for your feedback or provide additional information about how we can improve:

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

Refer us and get $10 in 3 simple steps!

Step 1

Get link

Get a free personal referral link here

Step 2

Give $10

Your user signs up and upgrade using link

Step 3

Get $10

1,250 free SMSes
OR 1,000 free voice mins
OR 12,000 chats
OR more