---
title: API now rejects unknown parameters with error 422
description: The ZEIT.IO API now rejects unknown parameters with error 422 and names the field – instead of silently ignoring typos in POST and PATCH requests.
author: Robert Reiz
published: '2026-12-06T07:37:21Z'
updated: '2026-12-06T07:37:21Z'
language: en
keywords:
- Integrations
- Security
canonical: https://zeit.io/en/blog/api-unknown-parameters-error-422
---

# API now rejects unknown parameters with error 422

ZEIT.IO, the time tracking, invoicing and contract software for freelancers and agencies, now checks every write request to its REST API: if a `POST` or `PATCH` contains a parameter the endpoint doesn't know, the API answers with status 422 and names the field. This applies to every integration with the ZEIT.IO API.

![Illustration: scattered API requests pass through a green check frame, only valid fields arrive neatly sorted](https://public.zeit.io/2026-12-06-1796542149681-zeit-io-api-changes1.jpg)

**A typo in an API request no longer disappears silently – the API tells you exactly which field it doesn't know.**

---

## Why are silently ignored API fields a problem?

An example: Sabine looks after her agency's integration with ZEIT.IO. A script updates the hourly rates in the supplier contracts every month. For the freelancer Mike, the remote rate is supposed to go up from 95 to 110 euros. But the script says `billing_rate_remot` instead of `billing_rate_remote`.

Until now, the API answered "200 OK". The script reported success and Sabine ticked the task off. Nothing had changed: the API had simply skipped the unknown field. Only at the monthly billing did anyone notice that Mike's remote hours were still billed at 95 euros – 30 hours, a 450-euro difference.

The API now catches exactly this kind of mistake before anything is saved.

---

## How it works

1. Your integration sends a `POST` or `PATCH` to the ZEIT.IO API, for example to `PATCH /api/v1/org/contracts/{id}`.
2. After checking the API key and the permissions, the API compares every field in the body and in the URL with the list of fields this endpoint accepts.
3. If a field is unknown, the API rejects the whole request and changes nothing. The response has status 422 and lists every unknown field:

   ```json
   {
     "error": "Unknown parameters: billing_rate_remot",
     "unknown_params": ["billing_rate_remot"]
   }
   ```

4. You correct the field name using the [API documentation](https://zeit.io/api-docs/) and send the request again.

---

## Which fields count as unknown?

Any field the endpoint doesn't process counts as unknown:

* **Typos and outdated fields**, such as `nmae` instead of `name`.
* **Read-only fields from a GET response**, such as `id` or `created_at`. If you fetch an object and send it back unchanged, remove these fields first.
* **Fields in the wrong place**, such as an `id` in the body when it is already in the URL.
* **Fields in invoice lines**: the API checks every line on its own and names the spot, such as `invoice_lines[2].pirce`.

A known field in the wrong shape, such as an object instead of a single value or text instead of a list, doesn't count as unknown. The API lists it under `invalid_params` with the shape it expects, for example *Invalid parameter types: labels (array expected)*.

The four parameters `format`, `locale`, `page` and `apiKey` are always allowed, in the body and in the URL. Fields documented as "comma-separated text or a list", such as `labels` or CC email recipients, still accept both forms.

---

## What changes on individual endpoints?

Along with the stricter check, ZEIT.IO has fixed fields that used to be ignored or handled incorrectly:

* **Contracts:** everything you can change on a contract's *Settings* tab in the web app can now also be changed via the API – for supplier contracts, for example, the reminder to record time, the small business regulation and the dynamic fields; for employee contracts, for example, the maximum hours per week and month, the break calculation, the public holidays of a state and the vacation rules. The hourly salary from the *Hourly rate* tab is included too. Reading a contract now returns these settings as well. A new contract title also reaches the contract's team members.
* **1:1 project contracts:** `cntr_needs_approval` now decides whether booked hours need approval. With `proj_customer_contact_person_id` and `proj_customer_department_id` you set the project's invoice recipient. If an ID doesn't belong to the customer, nothing is created.
* **Customers:** dynamic fields can also be sent as a JSON object, and labels as a JSON list. Previously, a JSON object could delete all of a customer's dynamic fields.
* **Automatic invoices:** CC and BCC recipients sent as a list are now stored as a clean, comma-separated list.
* **Invoices and incoming invoices:** an invoice line sent as text instead of an object, or a file that wasn't uploaded, now gets a clear error message instead of a server error.

---

## What changes for lists and existing fields?

* **Pages after the last one:** if you request a page of a list that doesn't exist – page 3 of a list with two pages – the API now answers with status 404 and names the last page: *Page 3 does not exist. The last page is 2.* Previously it returned the last page again, so a script that kept counting pages never stopped. Page 1 always exists, even for an empty list.
* **Contract title and daily hours:** an empty contract title now gets status 422 with a clear message instead of a server error. More than 24 hours per day are rejected with 422, as in the web app.

---

## What stays the same

* **Deletions** (`DELETE`) are not affected, and **read requests** (`GET`) return the same data as before – contracts return more of it.
* **Other documented fields** work as before. An integration that only sends those has nothing to change.
* **The order of the checks** stays: without a valid API key you still get 404, without permission 403 – before any field is checked.
* **The ZEIT.IO web app** works as usual.

---

## At a glance

* **Available since:** December 2026
* **Where:** ZEIT.IO REST API, every `POST` and `PATCH` endpoint under `/api/v1/`, including `/api/v1/authenticate`
* **Who:** every organisation and user that uses the API with an API key
* **Response to unknown fields:** status 422 with `error` and the list `unknown_params`; the request changes nothing
* **Always allowed:** `format`, `locale`, `page`, `apiKey`
* **Lists:** a page after the last one answers with status 404
* **Contracts:** every field of the *Settings* tab and the hourly salary can be changed via the API
* **Limits:** the check covers field names and their shape, not every single value

---

## Frequently asked questions

### Do I need to change my API integration?

Only if it sends fields that aren't documented. Check above all updates that send back a fetched object with `id` or `created_at`, and typos in field names.

### Is part of the request saved when a field is unknown?

No. The API rejects the whole request before it saves anything. Once you've fixed it, just send the request again.

### Does the check apply to GET requests?

No. Only `POST` and `PATCH` requests are checked for unknown fields. The one change for read requests: a page after the last page of a list now answers with status 404.

### Where can I see which fields an endpoint accepts?

In the [ZEIT.IO API documentation](https://zeit.io/api-docs/). It matches the check: every field described there is accepted, every other one is rejected.

---

## Why this matters

An API that hides mistakes costs money: wrong hourly rates, missing approvals, lost customer data – found only at billing time. Now you see the mistake the moment it happens, with the name of the field. Together with [multiple API keys with their own permissions](https://zeit.io/en/blog/multiple-api-keys-with-their-own-permissions) and the [API rate limits](https://zeit.io/en/blog/understanding-zeit-io-api-rate-limits), your integration with ZEIT.IO becomes predictable.

**What you send arrives – or you find out right away why not.**
