Akamai Error Reference Translator


Instead of use the Akamai console, I wrote a script to translate the error code into human readable language. It can be downloaded from here

To run the script, you need to get the API token, secret … from your Akamai admin first. It is under Configure/ Manage API in the console.

How it looks like?

./akamai_error_translator.py 18.2d464868.1442817339.b692352

Status code:
200

Respnse Body:
{
“errorTranslator”: {
“originHostname”: null,
“epochTime”: “1442817300”,
“errorString”: null,
“reasonForFailure”: “ERR_ACCESS_DENIED “,
“url”: null,
“originIP”: null,
“httpResponseCode”: null,
“serverIP”: “104.72.70.45 (SYDNEY,NSW,AU)”,
“dateTime”: “Mon, Sep 21, 2015 06:35 GMT”,
“requestMethod”: null,
“userAgent”: null,
“clientIP”: null,
“logs”: null
}
}

Advertisements

One thought on “Akamai Error Reference Translator

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s