I require your help on the following. We use Power BI to visualize the results of surveys. For this we use an API (export_responses) that until recently worked very well for us. Now, all of a sudden my report broke down with the following message: "The downloaded data is HTML, which isn't the expected type. The URL may be wrong or you might not have provided the right credentials to the server."
We use Json to open the file with.
The credentials still work and haven't changed. The surveys themselves haven't changed. What could be causing this issue? Unfortunately, I am not a very technical person and I was not involved in setting this report up, that colleague has left our company.
Your help is much appreciated!
Best,
Sifra
Last edit: 4 years 1 month ago by SifraWestendorp.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
My guess is that the export_responses() call is returning an error (HTML), not the base64 encoded data. I think you will need to access your API file directly to see what the error is.
Cheers,
Tony Partner Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
LimeSurvey version and build number
Did export work good in GUI
Can you access to API public url
Can you trace the HTML produced
What did you update on server.
etc …
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.