Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unprocessable Entity with Incidents and Analytics tab #81

Open
saltire73 opened this issue Mar 29, 2022 · 0 comments
Open

Unprocessable Entity with Incidents and Analytics tab #81

saltire73 opened this issue Mar 29, 2022 · 0 comments

Comments

@saltire73
Copy link

saltire73 commented Mar 29, 2022

I am using "@k-phoen/backstage-plugin-opsgenie": "^0.5.9", of the Opsgenie plugin but get the following error when clicking on the Incidents or Analytics tabs for the plugin:

Failed to load resource: the server responded with a status of 422 (Unprocessable Entity)

During the request for the Incidents tab, this line will go through the logs at a fast clip before receiving the 422 error:

[1] 2022-03-28T15:25:35.786Z backstage info Method: GET, Path: /api/proxy/opsgenie/api/v1/incidents req=[object Object]

Further troubleshooting appears that the plugin is trying to return over 108,000 items and we see this being returned in our logs:

 {“message”:“Sum of offset and limit should be lower than 20000",“took”:0.002,“requestId”:“<REDACTED>”}

If this is indeed the issue, is there a way to only return a subset of this data or limit to only a day or 2 of data?

Any assistance is appreciated. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant