HTTP Status Codes
TribeMade API uses standard HTTP status codes to indicate success or failure of requests.| Status Code | Meaning | Description |
|---|---|---|
200 | Success | Request completed successfully (GET, PUT, DELETE) |
201 | Created | Resource created successfully (POST) |
400 | Bad Request | Invalid request parameters or validation error |
401 | Unauthorized | Missing or invalid API key |
403 | Forbidden | Valid API key but insufficient permissions |
404 | Not Found | Resource doesn’t exist |
429 | Too Many Requests | Rate limit exceeded |
500 | Internal Server Error | Server error (rare) |
Error Response Format
All errors follow a consistent JSON format:Common Errors by Category
Authentication Errors (401)
Missing API key
Missing API key
Error:Cause: The
X-API-Key header was not included in the request.Fix:Invalid API key
Invalid API key
Error:Causes:
- API key is incorrect
- API key has been regenerated
- API key format is invalid
Validation Errors (400)
Missing required fields
Missing required fields
Error:Cause: Required fields are missing from the request body.Fix:
Invalid field length
Invalid field length
Error:Cause: Field value doesn’t meet length requirements.Fix: Adjust the field value to meet the constraints:
name: 3-30 charactersdescription: 0-500 charactersshort_description: 0-50 charactersinternal_note: 0-500 characters
Invalid number value
Invalid number value
Error:Causes:
- Negative or zero price
- Negative stock
- Negative shipping cost
Array size exceeded
Array size exceeded
Error:Cause: Array exceeds maximum allowed items.Limits:
images: Maximum 10variations: Maximum 20size: Maximum 20colors: Maximum 20categories: Maximum 20custom_questions: Maximum 5
Invalid categories
Invalid categories
Error:Cause: Specified categories don’t exist in your store.Fix:
- Create categories in your dashboard first
- Use exact category names (case-sensitive)
- Only use categories that exist in your store
Image too large
Image too large
Error:Cause: Image file size exceeds 5MB limit.Fix:
- Compress images before uploading
- Use image URLs instead of base64
- Each image must be ≤ 5MB
Invalid custom question type
Invalid custom question type
Error:Cause: Custom question type is invalid.Fix:
Resource Errors (404, 403)
Product not found
Product not found
Error:Causes:
- Product ID doesn’t exist
- Product belongs to different store
- Product was already deleted
Order not found
Order not found
Error:Cause: Order ID doesn’t exist.Fix: Verify the order ID is correct.
Order access denied
Order access denied
Error:Cause: Order exists but belongs to a different store.Fix: Ensure you’re using the correct API key for the store that owns this order.
Business Logic Errors (400)
Cannot delete product
Cannot delete product
Error:Cause: Product has active orders (processing or dispatched status).Why: Deleting products with active orders would break order fulfillment.Fix:
- Wait for orders to complete (delivered)
- Or cancel the orders first
- You can delete products with only completed/cancelled orders
Cannot update order status
Cannot update order status
Error:Cause: Trying to update status of a completed order.Why: Orders in final states (delivered/cancelled) cannot be changed.Fix: Order status is final once delivered or cancelled.
Invalid order status
Invalid order status
Error:Cause: Invalid status value provided.Fix: Use only these statuses:
processingdispatchedcancelleddelivered
No fields to update
No fields to update
Error:Cause: Edit product request has no fields to update.Fix: Include at least one field to update:
Rate Limit Errors (429)
Rate limit exceeded
Rate limit exceeded
Error:Cause: You’ve exceeded the rate limit for this endpoint.Fix: Wait for
retry_after seconds before making another request.Prevention: See Rate Limits for best practices.Error Handling Best Practices
1. Always Check Status Codes
2. Implement Retry Logic
3. Log Errors for Debugging
4. Provide User-Friendly Messages
Need Help?
If you encounter errors not covered here or need assistance:- Check the error message for specific guidance
- Verify your API key is correct and active
- Review the API Reference for parameter requirements
- Contact support through your TribeMade Dashboard
When contacting support, include:
- Error message and status code
- Endpoint you’re calling
- Request parameters (without sensitive data)
- Timestamp of the error

