500 Internal Server error

A 500 Internal Server Error can occur as the result of an EdgeWorker request.

HTTP/1.1 500 Internal Server Error
Server: AkamaiGHost
Mime-Version: 1.0
Content-Type: text/html
Content-Length: 176
Expires: Wed, 09 Oct 2019 16:36:56 GMT
Date: Wed, 09 Oct 2019 16:36:56 GMT
Connection: close

To find out, re-issue the request with the Pragma debug header akamai-x-ew-debug. The results of the re-issued request include a header with information about the error for each callback.

X-Akamai-EdgeWorker-onClientRequest-Info: ew=3699 v1.0:Syntax Error v2.3; status=Success; status_msg=main.js::2:10+SyntaxError:+Unexpected+identifier

For more information refer to the Enhanced debug headers reference section.