Two independent budgets behind one status code
HubSpot meters a private app against a short rolling window and against a daily account total at the same time, and exceeding either returns 429. The short window is 100 requests per 10 seconds on Free and Starter, 190 per 10 seconds on Professional and Enterprise. The daily total is 250,000 on Free and Starter, 625,000 on Professional and 1,000,000 on Enterprise. A Marketplace public app is metered at 110 requests per 10 seconds per installing account and has no published daily cap.
These are not two views of one number. A workflow can burst past 100 requests in a 10-second window having used 4,000 requests all day, and a slow nightly job pacing itself at 2 requests per second can exhaust 250,000 without ever tripping the short window. Diagnosing a 429 by looking at request rate alone therefore identifies the wrong limit roughly half the time.
Distinguishing the two failures
| Signal | Burst limit | Daily limit |
|---|
| policyName in the body | The short-window policy | DAILY |
| Clears after | The current 10-second window | The daily reset, not sooner |
| Time-of-day pattern | Spikes only, during bursts | Sustained from one point onward |
| Correct response | Exponential backoff and retry | Checkpoint, stop the job, resume later |
| Does lowering concurrency help? | Yes | No — the total is already spent |
The body already tells you, if you keep it
HubSpot returns a JSON body on 429 containing errorType, message and policyName, plus a correlationId useful when raising a ticket. Most integrations throw this away because the HTTP client raises on non-2xx before anything reads the payload. In n8n that means turning on the option that routes an error response to the node's output as data rather than failing the node, so an IF or Switch node downstream can branch on the parsed value.
The daily-remaining header is the other half of the picture and is worth logging on successful responses too, not only on failures. A job that watches X-HubSpot-RateLimit-Daily-Remaining fall can pause itself before the cap, which is strictly better than discovering the cap by failing every remaining record.
// n8n Switch node expression on the error output
{{ $json.error?.policyName ?? $json.policyName }}
// DAILY -> write checkpoint, deactivate the job, alert
// burst -> exponential backoff branch, retry the same item
// (a 400 VALIDATION_ERROR misrouted here)
// -> dead-letter; retrying will never help
// On SUCCESS responses, log the remaining budget:
// X-HubSpot-RateLimit-Daily-Remaining: 18422
// Pause the backfill when this drops below the reserve you keep
// for interactive and webhook traffic.
Why the daily cap arrives without warning
Daily exhaustion is almost always an arithmetic problem rather than a traffic spike. A sync that reads a contact, reads its associated company, updates the contact and re-reads it to confirm spends four requests per record. At 5,000 records that is 20,000 requests for a job that looks, in the workflow editor, like it processes 5,000 things. Add retries and a second workflow on the same token and a Free/Starter portal's 250,000 is closer than anyone estimated.
The daily cap is also an account figure, not an app figure. Two private apps in the same portal each have their own 10-second window but draw from the same daily total, which is why splitting a workload across two apps fixes burst problems and does nothing at all for daily ones.
The fix for daily exhaustion is removing requests: batch endpoints at 100 records per call, caching property and association metadata instead of re-fetching it per item, and storing external-ID-to-HubSpot-ID mappings so a lookup is not repeated for every row. Pacing changes when the requests happen, never how many there are.
If the 429s began at a predictable hour and never stop before the next day, stop tuning concurrency. That is a daily cap, and only reducing total request count will change it.
A worked capacity check before a backfill
Run the arithmetic before the job, not after the failure. Take the record count, multiply by the requests each record genuinely costs, add a retry allowance, and compare that to the tier's cap with a reserve left over for the portal's normal interactive and webhook traffic. If the estimate does not fit, the decision is between batching it down and splitting it across days — and that decision is much cheaper to make in advance than at 60% completion with a half-written checkpoint.
Portal: Professional private app -> 190 req/10s, 625,000 req/day
Backfill: 40,000 deals
Naive design, per deal:
GET /crm/v3/objects/deals/{id} 1
GET /crm/v3/objects/deals/{id}/associations 1
PATCH /crm/v3/objects/deals/{id} 1
---
3 -> 120,000 requests
+ 10% retries -> 132,000
Batched design:
POST /crm/v3/objects/deals/batch/read (100/call) 400
POST /crm/v3/objects/deals/batch/update (100/call) 400
associations resolved from the batch read 0
---
800 requests
132,000 -> 800. The daily cap stops being a consideration at all.
Instrument before the next incident, not during it
Both limits are far easier to diagnose from data collected before the failure than from the failure itself. Record, for every HubSpot call the workflow makes, the endpoint, the portal, the response status and the remaining-daily header. That is a handful of fields and it converts the next 429 from a guessing exercise into a query.
Two derived numbers do most of the work. Calls per record processed reveals design problems — a job that makes three calls per record is a batching opportunity and usually the cause of daily exhaustion. Requests per ten seconds at peak reveals burst risk, and it is worth measuring at the peak rather than as an average, because an average comfortably under the limit hides a spike that is well over it.
Group everything by portal and by workflow. One busy customer exhausting their own portal's cap looks identical to a platform-wide problem when the data is aggregated, and the responses to those two situations are completely different: one is throttling a single tenant, the other is stopping everything.
- Log endpoint, portal, status and X-HubSpot-RateLimit-Daily-Remaining on every call.
- Track calls per record processed — the number that exposes batching opportunities.
- Track peak requests per ten seconds, not the average.
- Group by portal and workflow so one tenant does not look like an outage.
- Alert on remaining daily budget falling below your reserve, not on the first 429.
Where these facts come from