canvasapi icon indicating copy to clipboard operation
canvasapi copied to clipboard

Exception has occurred: CanvasException - Encountered an error: status code 500

Open jpnoe opened this issue 3 years ago • 2 comments

Describe the bug

I am running into this error periodically when making calls using the API. It will work for 10 minutes, and then suddenly start giving me this error message, and go back and forth. Currently, however, I have not been able to get past the error message for over an hour. There doesn't appear to be any info in the error message, so I wanted to check if anyone else has run into this.

To Reproduce

Make calls using CanvasAPI.

Expected behavior

Probably normal behavior, but sometimes this error is thrown

Environment information

  • Python version 3.9.4
  • CanvasAPI version 2.2.0

jpnoe avatar Aug 01 '21 19:08 jpnoe

Hi jpnoe, could you provide a stack trace of this error occurring? What code are you executing when it happens?

Check out our docs on debugging for context on how you can collect more information while making calls.

jessemcbride avatar Aug 01 '21 21:08 jessemcbride

Thanks for the tip, I'll give that a go! I will post a stack trace once I run into it again, it started working again.

jpnoe avatar Aug 01 '21 21:08 jpnoe