Skip to main content
The platform returns a stable error code, a human-readable message, and a correlation ID for rejected requests. Use the code for program logic. Keep the correlation ID when reporting an issue; avoid sending credentials or full authorization headers. The exact HTTP status and response schema for each operation come from the versioned OpenAPI contract. A network failure can happen before an API error is returned, so log the request context without logging the secret. @gol/sdk/server turns each refusal into a GolApiError carrying the status, the code, and the correlationId. See errors in the SDK for the three error types and which of them are safe to retry.
For a value-moving request, retry with the same idempotency key. The API returns the original execution and never moves value twice.