Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the

80407: Phone Number Sid Invalid


WARNING: 80407

warning-80407 page anchor
PROXY
WARNING

This warning appears when you send an invalid Sid value in a Proxy Phone Number request. When you add a phone number to a Proxy Service, use either Sid or PhoneNumber. If you use Sid, provide the SID of an IncomingPhoneNumber resource, which must match the PN format ^PN[0-9a-fA-F]{32}$.

Possible causes

possible-causes page anchor
  • The Sid value is malformed, truncated, or includes extra characters, so it does not match the required PN SID format.
  • The request uses Sid for a value that is not the SID of an IncomingPhoneNumber resource on your account. Proxy expects Sid to identify a phone number on your account.
  • The request sends a literal phone number in Sid instead of using the PhoneNumber parameter. Proxy accepts a phone number value through PhoneNumber, not Sid.
  • The request passes both PhoneNumber and Sid. Only one of these values is allowed in the request.
  • Retrieve the correct PN SID for the phone number from your account, then send that value in Sid. You can list your IncomingPhoneNumber resources or fetch a specific IncomingPhoneNumber resource to confirm the SID you should use.
  • Validate the Sid before you send the request. A valid IncomingPhoneNumber SID matches ^PN[0-9a-fA-F]{32}$.
  • If you want to add the number by its phone number value instead of its SID, send PhoneNumber in E.164 format and omit Sid.
  • Confirm that the phone number is already provisioned, ported, or hosted in your Twilio account before you reference it as an IncomingPhoneNumber resource.

Additional resources

additional-resources page anchor