Open-EO / openeo-earthengine-driver

openEO back-end driver for Google Earth Engine.
Apache License 2.0
21 stars 7 forks source link

Not found: placeholder %s in message #42

Closed soxofaan closed 4 years ago

soxofaan commented 4 years ago
$ curl 'https://earthengine.openeo.org/v1.0/foobar'
{"id":"1591600271210",
"code":"NotFound",
"message":"%s does not exist",
"url":"https://open-eo.github.io/openeo-api/errors/#openeo-error-codes"}

message has unrreplaced placeholder %s

m-mohr commented 4 years ago

Thanks for the report. Weird, the code doesn't have a placeholder in the API's errors.json file. This is somehow leaking through from the server software restify. Implemented a workaround in the commit above. Will be updated on the server in some days.