Glossary

error.param

error.param is the envelope field that names the exact input which failed validation — present on field-level errors like a bad email or a missing consent flag.

2 min read

Definition

error.param appears in the error envelope whenever a failure is about one specific input. On a 422, it points straight at the offending field — fields.consent, fields.email — so you can highlight it in your form. When an error is not field-specific (a rate limit, a server error) it is absent.

Frequently asked questions

Is error.param always present?

No — only on field-validation errors. Rate limits and server errors have no single offending field, so they omit it.

Funding for UK limited companies

Credicorp lends to your company, not to you personally — short-term working capital with no personal guarantee. See what your business could access.