Error 500 When Importing Data via API Using Python

Hello KoBoToolbox Community,

I’m currently facing an issue while trying to import data into KoBoToolbox using the API with Python. Every time I attempt the import, I receive a 500 Internal Server Error response from the server.

Welcome back to the community, @yeminhtet! Are you trying to upload your XLSForm to the server or are you trying to upload filled-up submission to the project?

Dear @Kal_Lam . Thanks for your reply.
I am consistently encountering an HTTP 500 Internal Server Error when attempting to programmatically submit data to my form via the kobocat API endpoint using Python’s requests library.

My goal is to import CSV data into my KoboToolbox form.

@yeminhtet, you may need to check the API that you are using. This community post discussed previously could be helpful to solve your issue: