page_num must be greater than 0. Start at page_num=1.
InvalidPageSize
400
page_size outside the range 1–100
Use a page_size between 1 and 100.
DeepPageWithoutFilter
400
page_num > 100 with no narrowing filter and no cursor — applies to /fights/ (requires date_from/date_to, date, event_id, fighter_id, or division_id) and /fights/schedule/ (requires date, event_id, fighter_id, or division_id)
Add at least one of the accepted narrowing filters, or use cursor-based pagination (cursor param from pagination.next_page).
PageLimitExceeded
400
(page_num - 1) * page_size >= 10000, regardless of filters, checked after DeepPageWithoutFilter
Your offset has reached 10,000 or more documents. Switch to cursor-based pagination — follow the pagination.next_page URL instead of incrementing page_num.
InvalidCursor
400
Malformed or invalid cursor token
Do not manually construct or modify cursor tokens. Use the cursor value from pagination.next_page verbatim.
This is a server-side error, not caused by your request. Do not retry blindly — if it persists across multiple requests for the same resource, report it via the RapidAPI support channel. A SerializationError 500 is distinct from a transient network 5xx and is worth logging separately.
Most v1 router-generated errors use a different envelope from v2. Instead of the v2 response structure, v1 router errors wrap the detail in FastAPI’s bare format:
{
"detail": {
"code": "InvalidPageNum",
"message": "page_num must be greater than 0"
}
}
Exception:SerializationError is raised by a globally registered handler (response_validation_handler in app/main.py) that returns the full API envelope — { "error": { "code": "SerializationError", ... } } — in both v1 and v2. It does not use the bare detail wrapper.
v1 also has one error code not present in v2:
Code
HTTP
Fires when
Remediation
UnfilteredPageSizeTooLarge
400
Unfiltered v1 request with page_size > 20
Add at least one narrowing filter (e.g. fighter_id, event_id, date) or reduce page_size to 20 or below. For new integrations, migrate to v2, which removes this restriction.