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

BAD_REQUEST "Unknown resolution" when using SAP Cloud ALM DPs and automatic resolution switch #122

Open
andreacampo opened this issue Oct 4, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@andreacampo
Copy link
Collaborator

Problem description
When using the plugin for SAP Cloud ALM, resolutions below 5minutes return an error like this:
"code:"BAD_REQUEST"
message:"Unknown resolution : 15S"

This happens when using a configuration query with the "Automatic Resolution" switch turned on and selecting short timeperiod like "Last 6 hours".

image

Root Cause
This is happening because SAP Cloud ALM data providers do not support resolutions higher than 5 minutes (1Min, 10s and so on).
When using the Automatic Resolution switch, the granularity is automatically calculated based on the selected time period (e.g. using L48H the granularity is 5min while for L6H the resolution is 15s), hence the error for short timeframes.

Proposed Solution
Disable granularities higher than 5minutes for SAP Cloud ALM.
Unsupported resolutions should be also managed by the backend data providers which should automatically select a default value in case of errors.

@andreacampo andreacampo added the bug Something isn't working label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants