Skip to main content

Request body errors

What the Request body error codes mean and how to resolve them.

A request body error means the body of your request was empty or could not be parsed as valid JSON.

Every error in this family includes a stable code (for example VALD-1024). Find that code in the table at the bottom of this article to see exactly which rule was triggered.

Common causes

  • The request body was empty.

  • The body was not valid JSON.

  • The content type did not match the body.

How to fix it

  1. Match the code in your response to the table below.

  2. Include a non-empty request body.

  3. Validate that the body is well-formed JSON.

  4. Re-send the request.

Codes in this family

Code

What it means

VALD-1024

Error due to validation the model state. (Default Microsoft error message on invalid model state).

Did this answer your question?