Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm encountering an error while reloading the application Automation Monitoring app. It is used to work properly, but for the past8 days, i have been getting this error. Could you please help me to understand the issue?
The error message "Limit: the limit may not be greater than 200" typically indicates that the REST API has a restriction on the number of records that can be retrieved in a single request. This limit is often set by the API to manage server load and ensure system stability.
Possible solutions:
- Reduce the Limit.
- Use pagination.
Thank you so much for your prompt response. Could you please assist us in understanding how to reduce the limit and where. Additionally, I am unfamiliar with pagination. Could you please provide some guidance or share any relevant steps or links?
I will happy to help you. In your connection properties, turn on With Connection. Here is one example of paging. The parameters I use for this example are based on this REST API documentation. You have to check the parameter names for page. In this case of offset, in a lot of cases is "page".
Thank you so much for your reply. I would be grateful if you could assist me with the following steps:
1)Could you please let me know how to identify the parameters mentioned in the screenshot below?
2)In your previous reply, you mentioned 'vTotalRecords = 500000;' Is this a random value, or how do we define it?
3)In our script, we specified our Tenant URL, but in your script, you mentioned the following WITH CONNECTION: (
QUERY "offset" "$(i)"
,QUERY "limit" "$(vLimit)"