API Error Codes


When an API call results in an error, GrowPanel returns an HTTP status code along with an error message.


Error response format

{
"message": "Device parameter missing"
}

HTTP status codes

Status codeDescription
400Bad Request. Maybe you're missing some parameters
401Unauthorized. Your API key may be invalid.
403Forbidden. Your API key does not have access to the resource.
404The resource was not found.
405Method (GET, POST, PUT, DELETE) not allowed.
429Too many requests. Your request has been rate limited
500Internal server error. If this error persists, get in touch with us.
501-599A problem occurred connecting to the GrowPanel platform. Try again later.

Common errors and solutions

401 Unauthorized

Cause: Invalid or missing API key.

Solution:

  1. Verify your API key is correct
  2. Ensure the Authorization: Bearer YOUR_API_KEY header is included
  3. Check if the key was regenerated or deleted

403 Forbidden

Cause: Your API key doesn't have permission for this resource.

Solution:

  1. Verify the key has the correct access level (Admin vs Viewer)
  2. Check if you're accessing resources from another account

429 Too Many Requests

Cause: Rate limit exceeded.

Solution:

  1. Wait for the rate limit window to reset (usually 1 minute)
  2. Implement exponential backoff in your integration
  3. Reduce request frequency

See Rate limiting for current limits.