I'm new to LimeSurvey and am trying to import a question using the API. I'm using nodeJS and whenever I try to import a question I get following error: Invalid LimeSurvey question structure XML
I searched the internet and found that some people had similar issues with importing whole surveys, but couldn't quite find a solution.
I exported the lsq in the GUI and I have no problem importing it there.
Update: I did encode the filepath with base64, but it's still not working. When I copy the API part, which causes the error, and run it locally, it throws no errors. So I think it has something to do with how the path gets passed from Js to the PHP API, but I can't figure out why this is a problem.