While testing our API instance, I found out that while validating the Data Processing group of endpoints the POST /jobs test data brakes GET /jobs validation most probably due to invalid payload usage.
After data upload via POST /jobs our backend fails in returning via GET /jobs due following error thrown at our implementation side:
fastapi_1 | raise ValidationError(errors, field.type_)
fastapi_1 | pydantic.error_wrappers.ValidationError: 1 validation error for ViewJobAll
fastapi_1 | response -> jobs -> 0 -> process -> parameters
fastapi_1 | value is not a valid dict (type=type_error.dict)
fastapi_1 | TRACE: 139.191.240.36:41450 - Connection lost
While when I try to upload via POST /jobs these 2 jobs:
I found out the problem, I did not clean the DB in our instance which was causing this problem. Now both POST /jobs and GET /jobs are validated with valid results.
Dear devs,
While testing our API instance, I found out that while validating the Data Processing group of endpoints the
POST /jobs
test data brakesGET /jobs
validation most probably due to invalid payload usage.After data upload via
POST /jobs
our backend fails in returning viaGET /jobs
due following error thrown at our implementation side:While when I try to upload via
POST /jobs
these 2 jobs:https://raw.githubusercontent.com/Open-EO/openeo-D28/master/src/openeo_d28/body/GEE_job.json
https://raw.githubusercontent.com/Open-EO/openeo-D28/master/src/openeo_d28/body/EODC_job.json
our backend does not return any error while sending
GET /jobs
.Could you share with us the payload to use test
POST /jobs
in order for us to understand whether the problem is at our side with the model definition?Thank you,