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 in the Chomp database.
- Overly Restrictive Search: Your advanced search parameters are too narrow, resulting in zero matching products.
- Invalid Endpoint Path: You have a typo in the API endpoint URL (e.g., calling
/api/v2/food/barcodes.php instead of /api/v2/food/branded/barcode.php).
Troubleshooting Steps