2 weeks ago we discovered that the accent marks on the message for the Upsert Register Participant job were causing the run to fail with a Bad Request 400. We are now seeing this same issue for other jobs. Please add the removeAccents function that was implemented in this GH issue to the jobs below:
Pre challenges
Post challenges
Attendance
To Reproduce
Here is a link to a failed run on OpenFn.org which is indicative of the bug:
Describe the bug
2 weeks ago we discovered that the accent marks on the message for the
Upsert Register Participant
job were causing the run to fail with aBad Request 400
. We are now seeing this same issue for other jobs. Please add theremoveAccents
function that was implemented in this GH issue to the jobs below:To Reproduce
Pre challenges: https://www.openfn.org/projects/grs-integrations/runs/064f75ad-d1b6-7eaa-a59a-1cf667d59f3f Post challenges: https://www.openfn.org/projects/grs-integrations/runs/064f762d-1f03-73eb-88b8-c02b421e6e26 Attendance: https://www.openfn.org/projects/grs-integrations/runs/064f7441-da0f-703a-9004-8d071819076b
expression.js
Link to the job itself in Github.
Pre challenges: https://github.com/OpenFn/grassroot-soccer/blob/master/jobs/upsertPreChallenges.js Post challenges: https://github.com/OpenFn/grassroot-soccer/blob/master/jobs/upsertPostChallenges.js Attendance: https://github.com/OpenFn/grassroot-soccer/blob/master/jobs/upsertAttendanceNonSkillz.js
state.json
Messages: Pre challenges: https://www.openfn.org/projects/grs-integrations/messages/064f75ad-c90d-7a69-9266-14962b1b2c9d Post challenges: https://www.openfn.org/projects/grs-integrations/messages/064f762d-154d-799f-a044-9f223f76f581 Attendance: https://www.openfn.org/projects/grs-integrations/messages/064f7441-d091-7df6-b45a-4fe1f096b69b
Expected behavior
The jobs should run successfully.
To test/resolve