TaxStreem Logo

Error handling

TaxStreem uses standard HTTP status codes and structured JSON error responses.

FieldTypeDescription
400Bad RequestInvalid request body — missing required fields or invalid values.
401UnauthorizedInvalid or missing API key.
403ForbiddenAPI key does not have permission for this resource.
409ConflictDuplicate filing — same idempotency key already processed.
429Too Many RequestsRate limit exceeded. Retry with exponential backoff.
500Internal Server ErrorUnexpected server error. Retry after a short delay.

Error response shape

{
  "status": "error",
  "responseCode": 400,
  "message": "INVALID_REQUEST: encryptedPayload is required",
  "errors": [
    { "field": "encryptedPayload", "message": "Field is required" }
  ]
}
Idempotency:All filing endpoints support an Idempotency-Key header. Submitting the same key twice returns the original result — preventing duplicate filings on retry.