Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
File upload through API returns Internal server error #1531
What were you doing?
I'm trying to use the OctoPrint API to upload files to the local folder on the RaspberryPi running OctoPrint. Here's an example request: http://pastebin.com/iLGHQSSu
What did you expect to happen?
The file to be uploaded to RaspberryPi.
What happened instead?
The request returns HTTP 500, Internal server error. According to web UI, file upload wasn't successful. The error from octoprint.log:
Branch & Commit or Version of OctoPrint
Version: 1.2.16 (master branch)
Link to octoprint.log
I have read the FAQ.
Huh. It appears to be caused by the
without it, no error:
Stack trace in