Skip to content

Internal server error

0

Execution log for request 376d0b35-d865-414d-8bb7-753f4ee78787 Fri Jan 09 11:29:17 UTC 2026 : Starting execution for request: 376d0b35-d865-414d-8bb7-753f4ee78787 Fri Jan 09 11:29:17 UTC 2026 : HTTP Method: POST, Resource Path: /api/rest/service/v2/recentServiceChange Fri Jan 09 11:29:17 UTC 2026 : Method request path: {} Fri Jan 09 11:29:17 UTC 2026 : Method request query string: {} Fri Jan 09 11:29:17 UTC 2026 : Method request headers: {Content-Type=application/json} Fri Jan 09 11:29:17 UTC 2026 : Method request body before transformations: { "msisdn": "", "requestId": "2025-12-18.16.16.17", "serviceProviderId": "serviceProviderId01", "consentGranted": true } Fri Jan 09 11:29:17 UTC 2026 : Endpoint request URI: https://idv-dev-nlb-005-05af6024dfe27b18.elb.ca-central-1.amazonaws.com:8443/api/rest/service/v2/recentServiceChange Fri Jan 09 11:29:17 UTC 2026 : Endpoint request headers: {x-amzn-apigateway-api-id=infa8f29i1, User-Agent=AmazonAPIGateway_infa8f29i1, Host=idv-dev-nlb-005-05af6024dfe27b18.elb.ca-central-1.amazonaws.com, Content-Type=application/json} Fri Jan 09 11:29:17 UTC 2026 : Endpoint request body after transformations: { "msisdn": "+", "requestId": "2025-12-18.16.16.17", "serviceProviderId": "serviceProviderId01", "consentGranted": true } Fri Jan 09 11:29:17 UTC 2026 : Sending request to https://idv-dev-nlb-005-05af6024dfe27b18.elb.ca-central-1.amazonaws.com:8443/api/rest/service/v2/recentServiceChange Fri Jan 09 11:29:17 UTC 2026 : Execution failed due to configuration error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Fri Jan 09 11:29:17 UTC 2026 : Method completed with status: 500

  • Check if the certificate is valid or expired?

1 Answer
0

An internal server error (HTTP status code 500) indicates that the service encountered an unexpected condition that prevented it from fulfilling the request. Based on the execution log you provided, the specific error is related to a certificate validation issue: "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target."

This error occurs when the system cannot establish a secure connection because it cannot validate the SSL/TLS certificate of the target endpoint. The API Gateway is unable to verify the certificate for the NLB endpoint you're trying to reach.

When you encounter an internal server error, you should:

  1. Try your request again, as some internal errors are temporary.
  2. If the problem persists, you may need to:
  • Ensure the target endpoint has a valid and properly configured SSL/TLS certificate
  • Check that the certificate authority (CA) is trusted
  • Verify the certificate hasn't expired
  • Make sure the hostname in the certificate matches the endpoint being called

For this specific certificate validation error, you'll need to address the SSL/TLS configuration between API Gateway and your NLB endpoint. If you continue to experience issues, contacting AWS Support would be recommended for further assistance.
Sources
InternalServerException - Amazon Managed Blockchain
InternalServerException - Multi-party approval
GetProfileUpdateTask - AWS Partner Central

answered 4 days ago
EXPERT
reviewed 3 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.