Errors

The API uses standard HTTP status codes. Error bodies follow NestJS's default shape:

{
  "statusCode": 404,
  "message": "Filing not found",
  "error": "Not Found"
}
StatusMeaning
400Invalid request body, or both PartnerKey and Bearer sent at once.
401Missing or unknown PartnerKey.
403Not allowed (for example, creating a filing for another user without admin rights).
404Resource not found.
429Rate limit exceeded. See Rate limits.
Validation errors

When message is an array instead of a string, each entry describes one invalid field. That shape comes from the request body's validation rules, check it against the field types in the API Reference.

Check status before parsing the body

A non-2xx response still returns JSON, but it's the error shape above, not the resource shape you asked for. Check the status code first.