PROBLEM TYPE · VALIDATION_FAILED

The request body is not valid

The request was refused before anything changed.

Status
400
Code
VALIDATION_FAILED
Type
https://packagepage.com/problems/validation-failed

What this means

The request body did not match the shape this endpoint accepts, so nothing was written. The response lists the fields that failed, one entry each, with the reason for each.

Why it usually happens

A missing required field, a number sent as text, or a value outside the range the field allows. When it comes from a form, it is usually a field that looked optional and is not.

What to do

Read the field list in the response and correct the fields it names. Nothing was saved, so there is nothing to undo before trying again.