Open-EO / openeo-spring-driver

openEO driver build on spring using WCPS and ODC storage access
Apache License 2.0
0 stars 0 forks source link

Endpoint GET /jobs does not return JSON #82

Closed christophfriedrich closed 11 months ago

christophfriedrich commented 1 year ago

When accessing https://openeo.eurac.edu/jobs, one receives an HTML document titled "Whitelabel Error Page" and further stating:

This application has no explicit mapping for /error, so you are seeing this as a fallback. Tue Jun 13 18:19:05 CEST 2023 There was an unexpected error (type=Internal Server Error, status=500).

Possibly related to #66.

christophfriedrich commented 1 year ago

For replication purposes maybe I should add that this occurred to me when just accessing the URL in a browser window, i.e. without any login being present -- maybe the behaviour changes if one is logged in. But in any case, the response should have a different format ;)

clausmichele commented 1 year ago

Thanks @christophfriedrich. Sorry but I didn't see this issue!

We would need to return a proper message https://api.openeo.org/#tag/Batch-Jobs/operation/list-jobs

@pierocampa I tag you just FYI