microbiomedata / nmdc-runtime

Runtime system for NMDC data management and orchestration
https://microbiomedata.github.io/nmdc-runtime/
Other
4 stars 3 forks source link

`/queries:run` write errors yield a more informative error code and message #541

Open dwinston opened 1 month ago

dwinston commented 1 month ago

Description

Invalid /queries:run calls (that is, calls with semantically invalid mongodb commands) return a 422 error with info, rather than the more generic 418.

Closes #523

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Configuration Details: none

Checklist: