Error 500 on Data Import with Python

I checked your code, the first part working fine, but the JSON style is not correct i believe because i replaced your JSON file with my test JSON format, and i was able to import data.

I remember, might be wrong as well, in documentation there should be spesific JSON structure requirment that’s why you may not be able to upload your data

{
“id”:“FORM ID”,
“submission” :{
“formhub”: {
“uuid”: “YOUR FORM UUID”
},
“q1”: “1”,
“q2”: “2”,
“q3”: “33”,
“meta”: {
“instanceID”: “SUBMISSION UUID”
}
}
}

2 Likes