Skip to main content

AADSTS9002313: Endpoint rejected a malformed request

The endpoint rejected a malformed request.

What to check​

  1. Inspect the raw request method, parameters and encoding for the endpoint that returned the error.

Official reference​

Microsoft Learn: AADSTS error codes

Microsoft error lookup​

Message summary: The endpoint rejected a malformed request.

Microsoft remediation: The app developer should check that the request supplies the authentication parameters the flow expects and that each value is correct.

Open AADSTS9002313 in Microsoft’s lookup