Skip to main content

422 Unprocessable Entity

Elan Maynez avatar
Written by Elan Maynez
Updated yesterday

The 422 Unprocessable entity indicates that the action could not be processed properly due to invalid data provided. This occurs when there is a data conflict. For example, if you are trying to create a new user and the user email already exists, the server will return a 422 Unprocessable entity.

Example of 422 Unprocessable entity

Example of 422 Unprocessable entity

Solution

Verify that the input data provided is valid.

  1. For a Create record action, check if there is already a record with a unique key (email, ID).

  2. For an Update record action, check if the record exists. Otherwise, create a record.

  3. Check that all reference IDs are valid. For example, when assigning a Salesforce lead to a sales rep, there must be an existing sales rep.

  4. Check if the field is required. If so, the field cannot be blank.

Did this answer your question?