400 Bad Request

400 Bad Request

400 Bad Request error indicates that your API request is malformed or contains invalid parameters. 

Common Causes

  • Type Mismatches: Passing a string value where the API strictly expects an integer or boolean.
  • Malformed Syntax: Invalid formatting in your request URL or body.
  • Missing Required Parameters: Failing to include required fields in your query string.

Troubleshooting Steps

  1. Review the specific endpoint's requirements in the API Documentation.
  2. Verify that all passed parameters match their defined data types exactly.
  3. If the issue persists, please contact the Support Team with your exact request payload for assistance.

    • Related Articles

    • 500 Internal Server Error

      A 500 Internal Server Error indicates that an unexpected condition was encountered on the Chomp API servers, preventing it from fulfilling the request. Common Causes Backend Timeout: The database took too long to resolve a highly complex search ...
    • 404 Not Found

      A 404 Not Found error indicates that the Chomp API successfully processed your request, but the requested resource or food item does not exist in our database. Common Causes Missing Barcode: The UPC or EAN barcode you queried has not yet been indexed ...
    • 401 Unauthorized

      A 401 Unauthorized error indicates that the Chomp API has rejected your request due to authentication, billing, or rate limit issues. Common Causes Exceeded Rate Limits: (Limited and Standard Plans) You have exceeded your allowed Requests Per Minute ...
    • Chomp API License Information

      This document outlines the Terms of Use ("Terms") governing your access to the Chomp API and the Chomp Database. By accessing the API, you consent to these Terms. Executive Summary & Operational Policies Commercial Use: Allowed on Standard and ...
    • Monitoring API Usage

      API usage, including request volume and billing estimates, must be monitored via the Client Center. The Client Center provides a detailed breakdown of all active subscriptions associated with an account. Available metrics include: Total API requests ...