80407: Phone Number Sid Invalid
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}$.
- The
Sidvalue is malformed, truncated, or includes extra characters, so it does not match the requiredPNSID format. - The request uses
Sidfor a value that is not the SID of an IncomingPhoneNumber resource on your account. Proxy expectsSidto identify a phone number on your account. - The request sends a literal phone number in
Sidinstead of using thePhoneNumberparameter. Proxy accepts a phone number value throughPhoneNumber, notSid. - The request passes both
PhoneNumberandSid. 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
Sidbefore 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
PhoneNumberinE.164format and omitSid. - Confirm that the phone number is already provisioned, ported, or hosted in your Twilio account before you reference it as an IncomingPhoneNumber resource.