Customer community

Was this troubleshooting playbook helpful? Please let us know by clicking Sover Feedback.


Watch the following videos lớn learn more about solving 500 Internal Server Errors.

Bạn đang xem: Customer community

Video Description
Introduction Provides an introduction to 500 Internal Server Errors & possible causes. Also demonstrates a real time 500 Internal Server error along with steps to troubleshoot & resolve sầu the error.
Handle Service Callout and Extract Variable errors Demonstrates two 500 Internal Server Errors caused by Service Callout and Extract Variable policies và shows how to lớn troubleshoot & resolve sầu these errors.
Handle JavaScript policy errors Shows a 500 Internal Server Error caused by a JavaScript policy và the steps lớn troubleshoot and resolve this error.
Handle failures from backend servers Shows example 500 Internal Server Errors caused by a failure in backover server và shows steps to resolve sầu the errors.


The client application gets an HTTPhường status code of 500 with the message "Internal Server Error" as a response for API calls. The 500 Internal Server error could be caused by an error during the execution of any policy within Edge or by an error on the target/backkết thúc server.

The HTTPhường status code 500 is a generic error response. It means that the hệ thống encountered an unexpected condition that prevented it from fulfilling the request. This error is usually returned by the server when no other error code is suitable.

Error Messages

You may get the following error message:

HTTP/1.1 500 Internal Server Error In some cases, you may observe another error message which has more details. Here is a sample error message:

"fault": "detail": "errorcode":"steps.servicecallout.ExecutionFailed" , "faultstring":"Execution of ServiceCallout callWCSAuthServiceCallout failed. Reason: ResponseCode 400 is treated as error"

Possible Causes

The 500 Internal Server Error could be thrown due khổng lồ a number of different causes. In Edge, the causes can be classified inkhổng lồ two main categories based on where the error occurred:

Cause Details Detailed Troubleshooting Steps are Provided For
Execution Error in an Edge Policy A Policy within the API proxy may fail for some reason. Edge Private và Public Cloud users
Error in the Backover Server The backkết thúc hệ thống may fail for some reason.

Xem thêm: Hướng Dẫn Tải Game Monopoly Plus : Cờ Tỷ Phú Hiện Đại, Hướng Dẫn Tải Và Cài Đặt Game Monopoly Plus

Edge Private and Public Cloud users

Execution Error in an Edge Policy

A Policy within the API proxy may fail for some reason. This section explains how to troubleshoot the issue if the 500 Internal Server Error occurs during the execution of a policy.


Note: The 500 Internal Server error can arise due to many different reasons. For example, a 500 error can occur when a policy executes or it can originate on the backover target server. Because of this, we"ve sầu provided below several general diagnostic steps khổng lồ help you identify & troubleshoot this type of issue. We also provide several examples that give sầu specific steps for resolving these errors, depending on the cause of the problem. Diagnostic Steps for Private và Public Cloud Users

If you have sầu the trace UI session for the error, then:

Select the API request that is failing with 500 Internal Server Error in the trace. Examine the request & select the specific policy that has failed or the flow named "Error" that is immediately following the failed policy in the trace. Get more details about the error either by checking the "error" field under the Properties section or the Error content. Using the details you"ve collected about the error, try to lớn determine its cause. Diagnostic Steps for Private Cloud Users Only

If you don"t have the trace UI session, then:

Chechồng the Message Processor logs (/opt/ và search for the unique request message id in it. If you vì chưng find the chất lượng request message ID, see if you can get more information about the cause for the failure.


If you have determined the cause of the issue with the policy, try khổng lồ correct the problem by fixing the policy & redeploying the proxy.

The following examples illustrate how lớn determine the cause and resolution for different types of issues.

If you need further assistance in troubleshooting 500 Internal Server Error or you suspect that it"s an issue within Edge, contact Support.

Example 1: Failure in Service Callout policy due to lớn an error in the backover server

If the điện thoại tư vấn to lớn the backkết thúc hệ thống fails within the Service Callout policy with any error such as 4XX or 5XX, then it will be treated as 500 Internal Server Error.

Here"s an example where the backend service fails with a 404 error within the Service Callout policy. The following error message is sent lớn the end user:

"fault": "detail": "errorcode":"steps.servicecallout.ExecutionFailed" ,"faultstring":"Execution of ServiceCallout service_callout_v3_store_by_lat_lon failed. Reason: ResponseCode 404 is treated as error" } The following trace UI session shows 500 status code caused due lớn an error in Service Callout policy:


In this example, the "error" property lists the reason for the Service Callout policy failure as "ResponseCode 404 is treated as error". This error might occur if the resource being accessed via the backend VPS URL in the Service Callout policy is not available. Check the availability of the resource on the backend hệ thống. It might not be available temporarily/permanently or it might have been moved to lớn a different location. Example 1 Resolution Chechồng the availability of the resource on the backend hệ thống. It might not be available temporarily/permanently or it might have sầu been moved khổng lồ a different location. Fix the backover hệ thống URL in the Service Callout policy to lớn point to a valid and existing resource. If the resource is only temporarily unavailable, then try making the API request once the resource is available. Example 2: Failure in Extract Variables Policy

Let"s now look at another example, where 500 Internal Server Error is caused due lớn an error in the Extract Variables policy and see how to troubleshoot & resolve sầu the issue.

The following trace in UI session shows 500 status code due lớn an error in Extract Variables policy:


Select the failing Extract Variables policy, scroll down & look at the "Error Content" section for more details:
The Error Content indicates that the"serviceCallout.oamCookieValidationResponse" variable is not available in the Extract Variables policy. As the name of the variable indicates, it should be holding the response of the preceding Service Callout policy. Select the Service Callout policy in the trace và you might find that the "serviceCallout.oamCookieValidationResponse" variable was not phối. This indicates that the Call to the backover service failed, resulting in an empty response variable. Though the Service Callout policy has failed, the execution of the policies after Service Callout policy continue because the "continueOnError" flag in the Service Callout policy is set to true, as shown below:

Callout.OamCookieValidation false serviceCallout.oamCookieValidationResponse http://Url chú ý the quality message id "" for this specific API request from the trace, as follows: Select the "Analytics Data Recorded" phase from the request. Scroll down & note the value of


The following steps can only be carried out by the Edge Private Cloud users. View the Message Processor log (/opt/ và tìm kiếm for the unique message id noted down in step #6. The following error message was observed for the specific API request: