OpenFn / unicef-cambodia

UNICEF Cambodia - Primero Interoperability
https://openfn.github.io/unicef-cambodia/
1 stars 2 forks source link

400 error after upgrading adapter version for Flow1-J2: Upsert Cases in Oscar #80

Closed daissatou2 closed 2 years ago

daissatou2 commented 2 years ago

Describe the bug

We upgraded the adaptor version for this old job. We are running into this error, can you help us clean up the job?

state

NA See LP Primero V2 Cambodia Demo API user Oscar staging (webuser)

To Reproduce

  1. Here is a link to a failed run on OpenFn.org which is indicative of the bug: https://www.openfn.org/projects/p56pbe/runs/0618ba79-13dc-7085-a0be-c8d505d9a354

expression.js

PLEASE MAKE SURE TO ONLY EDIT THE JOBS IN THE V2 DIRECTORY... the others in the main directory are live on prod. https://github.com/OpenFn/unicef-cambodia/blob/master/jobs/V2/f1-j2-casesToOscar.js

To test/resolve

Feel free to re-run this run on prod to retrigger the flow: https://www.openfn.org/projects/p56pbe/runs/0618ba79-13dc-7085-a0be-c8d505d9a354