OpenFn/devtools

Sample job state.configuration.hosturl out of date

Closed this issue · 0 comments

Executting

~/devtools/core/bin/core execute \
 -l ~/devtools/adaptors/language-dhis2 \
 -s ./tmp/state.json \
 -o ./tmp/output.json \
 -e ./tmp/expression.js

results in the error - http status code 302 as below:
Screenshot from 2022-08-19 00-17-59

On creating a dhis2 account and trying to access the dashboard at https://play.dhis2.org/2.37.3 ( as provided in sample job state.configuration.hosturl, I was redirected to https://play.dhis2.org/2.37.7.1/dhis-web-dashboard/#/.
When I updated sample job state.configuration.hosturl to
https://play.dhis2.org/2.37.7.1, the job run was successful as seen below:
Screenshot from 2022-08-19 00-28-17

I also had this similar error: Request failed with status code 302 when I tried to run the sample job provided in the job studio for a test project I created on the platform:

Job Studio - OpenFn