While executing the below request:
I am facing the following API response with status code 400 bad request.
Error message: Cannot get programs. The node count limit of '100' has been exceeded. To increase the limit, set the 'MaxNodeCount' property on EnableQueryAttribute or ODataValidationSettings.
What is the cause for this api error?
Hi Janu,
Are you looping your request?
API 2.0 GET usage and filters – Jira Align
In addition, because of the number of records that can be returned in a GET API call, 100 items is the maximum that can be returned in a single call. Thus when using the API, you must loop through batches of 100 to get all items.
I am not sure about Align but in Jira I thought the default limit was 100 Max 100 records when we do API calls against the C... (atlassian.com)
I gave up trying to use API to get data from Align and moved back to export to xlsx/csv manually.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm guessing you have hit the limit on how many "OR"s you can have. Can you alter the filter to something smaller such as: {{base_JA_url}}/Programs?$filter=portfolioId EQ 1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The ODataValidationSettings.MaxNodeCount is a setting on the backend web service and thus you will not be able to change it. Your best option is to reconstruct your $filter clause such that there a 99 or fewer "OR"s.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.