Factuarea APIDevelopers

parameter_invalid_enum

The value falls outside the closed set the parameter accepts. On listings it also covers a filter operator other than `eq`, `gte`, `lte`, `gt`, `lt`, `in` or `contains`, and it is the main code (400). On operations that validate a form or a query parameter with rules (for example `format` on the invoice PDFs) it arrives as an entry of `error.errors[]`, with its `allowed_values`, inside a 422 `invalid_param_value`.

CodeTypeHTTPCategory
parameter_invalid_enuminvalid_request_error400Request

Cause

The value falls outside the closed set the parameter accepts. On listings it also covers a filter operator other than eq, gte, lte, gt, lt, in or contains, and it is the main code (400). On operations that validate a form or a query parameter with rules (for example format on the invoice PDFs) it arrives as an entry of error.errors[], with its allowed_values, inside a 422 invalid_param_value.

What to do

Pick one of the values documented for that parameter, or one of the supported filter operators.

Message returned by the API

The parameter value is not one of the allowed values.

On this page

Need a hand?Contact support