Attuitive
  • Welcome
  • Getting Started
    • Quickstart
  • Basics
    • Workspaces
    • Events & Actions
    • Identifiers & Traits
  • API Reference
    • Introduction
    • Authentication
    • Error handling
    • Pagination
    • Request IDs
    • Identify
    • Track
    • Distill
Powered by GitBook
On this page
  1. API Reference

Error handling

PreviousAuthenticationNextPagination

Last updated 25 days ago

The Attuitive API uses standard to indicate the result of a request. It can be assumed anything in the 2xx range was successful. Codes in the 4xx range indicate a client error, and something that can be fixed by correcting information in the request (e.g. a bad ID or missing parameters) and trying again. Codes in the 5xx range should be rare and indicate an error from Attuitive.

All responses outside of the 2xx range will return a standard error format:

{
  "status": 400,
  "message": "Invalid identifiers",
  "moreInfo": "The provided identifiers should be a valid JSON object."
}
Name
Type
Description

status

number

HTTP response code

message

string

A brief description of the error

moreInfo

string

Further details on the error and/or remedy steps

HTTP response codes