Skip to main content
The Origin Errors API provides visibility into failed origin requests. Query error logs by pull zone and date to identify DNS failures, timeouts, and other origin issues.

Base URL

https://cdn-origin-logging.bunny.net

Authentication

Authenticate using the AccessKey header with your account API key:
curl --request GET \
  --url https://cdn-origin-logging.bunny.net/{pullZoneId}/{dateTime} \
  --header 'AccessKey: YOUR_API_KEY'
Find your API key in the account settings under API Keys.

Error codes

The API returns logs with the following error codes:
Error CodeDescription
dns_lookupOrigin DNS lookup failed
http_timeoutRequest to origin timed out
http_request_exceptionHTTP request exception occurred
http_request_failureHTTP request failed
http_invalid_rangeInvalid range request
http_loop_detectedRequest loop detected
http_invalid_compressionInvalid compression in response
network_socket_exceptionNetwork socket exception
network_io_errorNetwork I/O error
notfound_localdbNot found in local database