StoreLyne API docs 2026-11

server_action_failed

The server agent tried the action and it failed. The message says what the server answered.

HTTP status502
Typeapi_error
RetryYes, after a pause that grows each time. Keep the same Idempotency-Key.

Example

502
{
  "error": {
    "type": "api_error",
    "code": "server_action_failed",
    "message": "The server agent tried the action and it failed. The message says what the server answered.",
    "param": null,
    "trace_id": "tr_01JCG8ZQ5S7T0V4X8K2M3N6P9R",
    "docs": "https://docs.storelyne.com/errors/server_action_failed"
  }
}
Quote the trace_id when you contact support. It finds this exact request in our logs.