Skip to main content
Back to problem codes

Invalid limitHTTP 400 with code invalid_limit

What it means
The limit query parameter must be a positive integer
What to do
Call GET /api/v1/clubs?page=1&limit=50. Maximum limit is 200

Example response

{
  "type": "https://www.theprivateclubs.com/problems/invalid_limit",
  "title": "Invalid limit",
  "status": 400,
  "detail": "The limit query parameter must be a positive integer.",
  "code": "invalid_limit",
  "hint": "Call GET /api/v1/clubs?page=1&limit=50. Maximum limit is 200.",
  "instance": "/api/v1/clubs"
}

Sent as application/problem+json

Read the OpenAPI spec