DropplinkDocsPowered bydropp.

SDK API

Errors

The error shape and every error code.

Every error response has the same shape:

{
  "error": {
    "code": "validation_failed",
    "message": "Request failed validation",
    "details": [{ "path": "installId", "message": "Invalid UUID" }]
  }
}
  • code is stable: switch on it.
  • message is for people and may change.
  • details appears on validation_failed, with one entry per field.
StatuscodeWhen
400validation_failedThe body is invalid. See details.
400platform_mismatchplatform doesn't match the key's platform.
401missing_signatureX-Key-Id, X-Timestamp or X-Signature is missing.
401bad_timestampX-Timestamp isn't whole seconds.
401stale_timestampMore than 5 minutes from server time.
401invalid_keyUnknown or revoked key, or the app was deleted.
401bad_signatureThe signature doesn't match the body.
413fst_err_ctp_body_too_largeThe body is over 64 KB.
500internalSomething went wrong on our side. Retry later.

How your app should react to each: Handling errors.

Something unclear? Tell us.Powered bydropp.