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

Error 400: no jobs are available at the moment #66

Closed pierocampa closed 1 year ago

pierocampa commented 2 years ago

This error keeps popping up (lower-right corner popup) when you enter the editor and have no batch jobs saved in your processing library.

"An empty job list should never return a 400 status code. Instead it should return an empty list with a 200 status code." https://github.com/Open-EO/openeo-web-editor/issues/282

The flowed logic can be found in the JobsApiController class.

clausmichele commented 1 year ago

Thanks @pierocampa , I merged your PR!

m-mohr commented 1 year ago

This still happens to me...

clausmichele commented 1 year ago

Thanks for reporting, I will check!

pierocampa commented 1 year ago

@m-mohr : on which branch are you? No 404 error is possible in the GET /jobs logic now (on master): on empty list, 200 OK.

m-mohr commented 1 year ago

I'm on whatever you've deployed https://openeo.eurac.edu

pierocampa commented 1 year ago

Ah ok, I'll let this to you @clausmichele then. Thanks Matthias for reporting!