Error handling in DirectSend

HTTP Status Codes

See the below table for http 5xx errors and the appropriately handling.

HTTP status codeDescriptionWhen used/action
500Internal ErrorInternal error within the platform.
502Bad GatewayInternal error, not recoverable. Please contact Berkeley if you encounter this error.
503Service UnavailableThe request cannot be processed at this time. Under most circumstances this error will resolve quickly and the request can be retried.
503Gateway TimeoutA request has timed out, however may have completed successfully. Under most circumstances this error will resolve quickly. For requests that use an idempotency key the request can be retried with the same key. We do recommend that clients check the status of a request using the appropriate get/list method.