microbiomedata / nmdc-runtime

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

Unable to update field that is a list using queries:run endpoint #736

Open kheal opened 2 days ago

kheal commented 2 days ago

Describe the bug Attached is a queries:update json for updating MetaProteomics records. @aclum and I are receiving a message that says "Input should be a valid dictionary or object to extract fields from", but we are failing to understand or see how this is formatted incorrectly.

To Reproduce Steps to reproduce the behavior: See attached queries:run. It should update the nmdc:wfmp-11-1ky3j817.1 record. combined_queries_test_minimal.json

kheal commented 2 days ago

This is blocking https://github.com/microbiomedata/issues/issues/897

aclum commented 2 days ago

Error code was 422 with "msg": "Input should be a valid dictionary or object to extract fields from",