60361: Account SID is invalid or not provided
VERIFY
ERROR
Twilio returned this error because the request did not include a valid Account SID, or the Account SID format was invalid. This error usually occurs when you send a Verify API request with a missing account identifier, a malformed AC... value, or credentials that do not match the account you are trying to access.
- The request did not include an Account SID.
- The Account SID value is malformed or does not start with
AC. - The Account SID contains extra whitespace, truncated characters, or an invalid length.
- The request used credentials from a different Twilio account than the one that owns the Verify resource.
- An environment variable or application secret that stores the Account SID is empty or incorrectly configured.
- The request mixed a valid API key or auth token with the wrong Account SID.
- Confirm that your request includes the correct Account SID for the Twilio account that owns the Verify resource.
- Verify that the Account SID is formatted correctly and starts with
AC. - Check your application configuration, environment variables, and secret management system to make sure the Account SID is present and not blank.
- Remove any leading or trailing spaces from the Account SID before sending the request.
- If you use API keys, make sure the API key, secret, and Account SID all belong to the same Twilio account.
- Test the same credentials with a known good Verify API request to confirm the account information is valid.
- If you manage multiple Twilio accounts or subaccounts, make sure you are using the correct Account SID for the target account.