A few questions about 429 Complexity Budget Exhausted Error

Hi, I am testing the Monday.com API endpoint using a developer account. I encountered the 429 error. I have a few questions about this.

{
    "error_code": "ComplexityException",
    "status_code": 429,
    "error_message": "Complexity budget exhausted, query cost 325385 budget remaining 23845 out of 1000000 reset in 20 seconds",
    "error_data": {},
    "errors": [
        "Complexity budget exhausted, query cost 325385 budget remaining 23845 out of 1000000 reset in 20 seconds"
    ],
    "account_id": 14649038
}
  1. What’s the complexity limit for developer account? 1M or 10M? I found developer account limit was upgraded to 10M in the community announcement, but I can only see 1M during my testing.
  2. What does “budget remaining” in the error_message mean? According to my understanding, remaining budget means I haven’t reached the complexity limit, then why it raises complexityException error?
  3. Paid accounts may have higher complexity limit, how about Enterprise Account? Can Enterprise Account ask for complexity > 10M?

Thanks!

Hello @OktaDev,

  1. From what I know, the complexity limit does not differ by paid account types so the standard account has the same limitations as for example, a pro account.
  2. What is it means is that, the operation you are trying to do will cost 325385 but your remaining budget is 23845, which is less than what the operation needs so you will have to wait for 20 seconds for your limit to reset.
  3. That can be answered only by the team at monday.com

Thanks Kolaai for solving my most doubts!

I don’t get the answer1, so a developer account has 1M or 10M complexity limit?

I cross-checked the API documentation. It says

  • All queries made through an API token belonging to a specific user must not exceed 10,000,000 points per minute (1M for trial and free accounts)

The developer account may fall under the free accounts so will therefore have 1M

Got! Thank you!

1 Like

Thank you @kolaai !!

@OktaDev, what @kolaai said is correct.

  • A single query is limited to 5,000,000 complexity points
  • All queries made through an API token belonging to a specific user must not exceed 10,000,000 points per minute (1M for trial and free accounts)
  • For apps only, reads and writes are each limited to 5,000,000 complexity points per minute
  • Enterprise accounts have a 10,000,000 points limit per minute

If you are developing an app for the marketplace and need a higher limit, please send an email to appsupport@monday.com including what you are working on and your account’s ID or slug and we will take a look into it :slightly_smiling_face:

Cheers,
Matias