Error handling in DirectSend

HTTP Status Codes

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

HTTP status code

Description

When used/action

500

Internal Error

Internal error within the platform.

502

Bad Gateway

Internal error, not recoverable. Please contact Berkeley if you encounter this error.

503

Service Unavailable

The request cannot be processed at this time. Under most circumstances this error will resolve quickly and the request can be retried.

503

Gateway Timeout

A 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.