Error with dw_export_chart()
shamahutoto opened this issue · comments
shamahutoto commented
Hi, when trying to run
aaa_table<- dw_export_chart("IX7iJ",
type = "png")
I get the error Error: API did not return json
Just wondering if this an isolated problem? I can update charts using dw_data_to_chart so don't think its an authentication issue.
Benedict Witzenberger commented
Hey @shamahutoto,
I could reproduce the error. The returned type from the API is in format application/octet-stream
, while DatawRappr expects something like image/png
.
I added a possible fix in be482b7 which allows a response type application/octet-stream
.
Could you please update DatawRappr and try again?
Thanks!
shamahutoto commented
@munichrocker thank you that worked