Stay organized with collections Save and categorize content based on your preferences.
If you don't get a successful response from a request to your Cloud Endpoints Frameworks API, you can use Cloud Logging in the Google Cloud console to help troubleshoot.
Viewing logsIn the Google Cloud console, go to the Logging > Logs Explorer page.
From the project drop-down list at the top of the page, select the Google Cloud project in which you created your API.
Select GAE Application and All logs.
Adjust the time range until you see a row that shows an error.
Click Expand All to see the entire log for the error.
The following section provides troubleshooting information for specific error messages. If you are unable to fix the issue, copy one of the log entries that shows the error and paste it in a text file. Include the log in any communication that you have with Google.
503 Service Unavailable
App Engine might take a few minutes to respond successfully to requests. If you send a request and get a 503
error, wait a few minutes and try the request again. If you still don't get a successful response, check the Cloud Logging logs. The following are some error messages that you might see in the Cloud Logging logs.
YOUR_PROJECT_ID.appspot.com
found or permission denied. If this is a new Endpoints service, make sure you've deployed the service config using gcloud. Endpoints Frameworks for Python logs this error when it fails to load the service configuration for the service that you have specified in your app.yaml
file. This error can happen when you haven't deployed the OpenAPI document for your API by using gcloud endpoints services deploy
, or the Service Management API isn't enabled. When you deploy the OpenAPI document for your API, the gcloud
command automatically enables the following:
servicemanagement.googleapis.com
)cloudapis.googleapis.com
)YOUR_PROJECT_ID.appspot.com
was found, but no service config was found for version SERVICE_CONFIG_ID
. Endpoints Frameworks for Python logs this error when it fails to find the service configuration ID that you have specified for ENDPOINTS_SERVICE_VERSION
in your app.yaml
file. To fix this error:
app.yaml
file and set ENDPOINTS_SERVICE_VERSION
to the service configuration ID.gcloud app deploy
404 Not Found
If you recently migrated to Endpoints Frameworks version 2, and you get the 404 Not Found
error message, see the following sections to troubleshoot the issue:
Invoke-WebRequest
In some versions of Windows PowerShell, the example Invoke-WebRequest
in the tutorials fails. We have also received a report that the response contained a list of unsigned bytes that had to be converted to characters. If the example Invoke-WebRequest
didn't return the expected result, try sending the request using another application. Following are a few suggestions:
Use a third-party application such as the Chrome browser extension Postman (offered by www.getpostman.com
). When creating the request in Postman:
POST
as the HTTP verb.content-type
and the value application/json
.{"message":"hello world"}
Enter the URL for the sample application. For example:
https://example-project-12345.appspot.com/_ah/api/echo/v1/echo
Download and install curl
, which you run in the Command prompt. Because Windows doesn't handle double quotation marks nested inside single quotation marks, you have to change the --data
option in the example, as follows: --data "{\"message\":\"hello world\"}"
What's next
Get started using the Logs Explorer.
Learn how to route logs.
Use filters for advanced filtering, such as getting all requests with a latency greater than 300 milliseconds.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["Cloud Logging helps troubleshoot unsuccessful responses from Cloud Endpoints Frameworks APIs, accessible via the Logs Explorer in the Google Cloud console."],["A `503 Service Unavailable` error may occur initially with App Engine; waiting a few minutes and retrying the request is recommended before checking logs."],["Errors like \"No service found\" or \"permission denied\" often indicate a missing service configuration or disabled APIs, which can be resolved by deploying the OpenAPI document and ensuring necessary APIs are enabled."],["A `404 Not Found` error after migrating to Endpoints Frameworks version 2 requires specific troubleshooting steps detailed in Java and Python migration guides."],["If `Invoke-WebRequest` fails in Windows PowerShell, try using Cloud Shell, Postman, or `curl` with specific formatting for nested quotation marks."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4