HTTP 429 Too many sub-requests. An execute script calls codemode.request() more than 25 times.
When it happens
Only codemode.request() in the MCP execute tool returns it, as data with ok: false.
Response body
{
"type": "https://pubnio.com/docs/problems/too-many-requests/",
"status": 429,
"title": "Too many sub-requests",
"detail": "An execute call may issue at most 25 API requests.",
"code": "too_many_requests",
"nextAction": "Reduce the number of API calls in one execute script or return partial results.",
"requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}| Field | Type | Always present |
|---|---|---|
param |
string | No |
nextAction |
string | Yes |
Recovery for agents
- Do what
nextActionsays. paramis the field to change.
Retryable
No: no SDK runs in the sandbox and no Retry-After header comes back. Run unchanged, the same script hits the same limit again.
Limits
- Match on
typeorcode, not ondetail.