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

Better error insights on CDSE firewall blocking #512

Closed
soxofaan opened this issue Dec 1, 2023 · 2 comments
Closed

Better error insights on CDSE firewall blocking #512

soxofaan opened this issue Dec 1, 2023 · 2 comments

Comments

@soxofaan
Copy link
Member

soxofaan commented Dec 1, 2023

When CDSE firewall blocks a request, the python client just shows something like openeo.rest.OpenEoApiError: [403] unknown: unknown error, which is not very descriptive and requires quite some additional steps to fully resolve the problem (like figuring out the error id).

@soxofaan
Copy link
Member Author

soxofaan commented Dec 1, 2023

it's probably better to include the original error body here

message=info.get("message", "unknown error"),

@soxofaan
Copy link
Member Author

soxofaan commented Dec 1, 2023

with initial attempt 86ea71e you now get an error like

OpenEoApiError: [403] unknown: unknown error ({'status': 'error', 'data': {'message': 'This request was rejected due to a violation. Please consult with your administrator, and provide this reference ID: 12792259169332677499'}})

Which contains the reference ID that helps to resolve the firewall issue

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