Closed aleksa-krolls closed 3 years ago
@aleksa-krolls I doubled check here and it seems like (also in the logs) we have bad data in the json we update. See these fields here:
"detail": [
"/progres_interventionnumber",
"/remote",
"/assigned_user_names",
"/created_by"
],
If you check thoses fields in the message are you able to say if they are correct? I made a test by commenting them out of the job and had a green check locally.
Thanks @lakhassane! I will revisit the mappings.
Describe the bug
See run here: https://www.openfn.org/projects/p5am6e/runs/r89y49pz
To Reproduce
Feel free to re-run on prod. Remember Primero recently updated API so we have to send
content-type: application/json
in the HTTP request header. Wondering if that is related to this or if something else is going on?expression.js
https://github.com/OpenFn/primero-progres/blob/master/jobs/1.upsertExtracts.js
state.json
See LP for
Primero Dadaab (open_function API-only user)