Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Error Bad Response 500 for getImage() #68

Closed

Description

@shaedmorgan

Any help would be great - or alternative options.

I'm using getImage to create and store a plot in a google cloud bucket. I've been using this successfully for weeks now, and all of the sudden, with no changes to the code, I start getting this error. I've seen other issues with a 301 code, that make it seem like I need to to some switch to a new way to do this, but I don't know how. Any guidance, suggestions for quick fixes, etc. would be appreciated!

code:
image

error:
image

Activity

  1. shaedmorgan commented on Dec 21, 2020

    @shaedmorgan
    Author

    I've narrowed it down to the fact that I display some text that is not a UTF-8 character, but it's not reading it correctly. It's the upward pointing white triangle "\u25B3" - when I put that in the code, it still gives me the error

    (see issue #43 for reference!)

  2. edencheung commented on Jan 25, 2021

    @edencheung

    Same problem here, plotly gives me a 500 error when I try to render a graph containing a character like "ç". However, the weird thing is that when I do ploty.plot() and click into the URL, it works perfectly fine.

  3. shaedmorgan commented on Jan 25, 2021

    @shaedmorgan
    Author

    Following the instructions listed in this pull request and a bit more tinkering fixed the issue for me. You basically just need to change the instructions on how the JSON gets read to include all utf-8 special characters:

    Hope this helps! Worked for me.

    #49

  4. shaedmorgan commented on Jan 25, 2021

    @shaedmorgan
    Author

    Same problem here, plotly gives me a 500 error when I try to render a graph containing a character like "ç". However, the weird thing is that when I do ploty.plot() and click into the URL, it works perfectly fine.

    I hope my solution above works for you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions