Skip to content

Invalid request

Type: https://docs.dockt.com/errors/invalid-request

Status: 400 Bad Request or 422 Unprocessable Content

Dockt couldn’t interpret the request (400), or a field value isn’t allowed (422). Common causes are a body field the endpoint doesn’t take, an invalid pagination cursor, an unknown document type, a period that ends before it starts, an invalid timezone, or contracted_by without an employer.

Read detail and each item in errors.issues. Check the method, path, query parameters, headers and JSON syntax. Send cursors exactly as returned by the same collection, and restart pagination when a cursor is no longer valid.