keon94 opened a new issue, #5107: URL: https://github.com/apache/incubator-devlake/issues/5107
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues. ### What happened As Slack user was unable to fetch incidents for a service. Turns out there were more than 10k incidents for the time range. This results in this error during collection: ``` time="2023-05-04 17:39:45" level=warning msg=" [pipeline service] [pipeline #5] [task #49] [api async client] retry #2 calling incidents caused by: Http DoAsync error calling [GET incidents]. Response: {"error":{"message":"Arguments Caused Error","code":2002,"errors":["Offset+limit exceeds maximum allowed value of 10000. Please try to refine your search to reduce the returned set of records below this number, like adding a date range."]}} (400)" ``` Solution: Use these docs https://developer.pagerduty.com/docs/ZG9jOjExMDI5NTU4-pagination ### What do you expect to happen Successful collection ### How to reproduce Need to have more than 10k incidents in a PagerDuty service ### Anything else _No response_ ### Version main ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
