plotly/plotly_matlab

getplotlyfig() Error

ckarag opened this issue · 0 comments

Hi. I am using the latest Plotly MATLAB release (2.2.5). I am trying to retrieve a figure from my account, using getplotlyfig('userXYZ','80'). I am passing the number of the figure as a string (as shown in the user guide examples). Uploading new plotly graphs works as expected, however, when trying to retrieve graphs I am receiving the following error:

> Reference to non-existent field 'Content_Type'.
> Error in response_handler (line 6)
>         if (strcmp(extras.allHeaders.Content_Type, 'image/jpeg') || ...
> Error in plotlygetfile (line 26)
>     response_handler(response_string, extras);
> Error in plotlyfig/download (line 410)
>             plotlyfig = plotlygetfile(file_owner, file_id);
> Error in getplotlyfig (line 25)
> p.download(file_owner, file_id);

Can somebody help resolve this please?