HTTP Status Codes
Stay organized with collections
Save and categorize content based on your preferences.
HTTP status codes the server can generate in response to an HTTP POST
or
HTTP GET
request:
200 OK
: Successful request.
400 Bad Request
: Invalid argument (invalid request payload).
403 Forbidden
: Permission denied (e.g. invalid API key).
429 Resource Exhausted
: Either out of resource quota or reaching rate limiting.
500 Internal Server Error
: Internal server error (retry your request).
503 Service Unavailable
: Unavailable.
504 Gateway Timeout
: Deadline exceeded (retry your request).
Note: Clients that receive an unsuccessful HTTP response (that is, any HTTP
status code other than 200 OK
) must enter
back-off mode.
Possible reasons for receiving HTTP status code 400 Bad Request
:
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 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The server generates HTTP status codes like `200 OK` for success and various error codes (`400`, `403`, `429`, `500`, `503`, `504`) for different issues encountered during `POST` or `GET` requests."],["Clients receiving unsuccessful HTTP responses (any code other than `200 OK`) should enter back-off mode to avoid overwhelming the server."],["`400 Bad Request` errors can arise from invalid arguments in requests to `fullHashes.find`, `threatListUpdates.fetch`, or `threatMatches.find` methods, such as invalid hashes, empty update requests, or missing threat entry types."]]],[]]