321403: Invalid grant_type
ERROR
Twilio could not process the token request because the grant_type parameter is missing or contains an unsupported value. For Client Credentials authentication, set grant_type to client_credentials.
- The request does not include the
grant_typeparameter. - The request includes a
grant_typevalue other thanclient_credentials. - The request body is malformed, so Twilio cannot read the
grant_typeparameter. - The application is using a different OAuth flow than the endpoint supports.
- Include the
grant_typeparameter in the token request body. - Set
grant_typetoclient_credentials. - Send the request using the expected content type and body format for the token endpoint.
- Review your IAM authentication flow and confirm that your application is using Client Credentials where required.