Error on upload:
Failed to submit package: 401 Client Error: Unauthorized for URL
The template I downloaded:
JFrog Bintray
- Added SSID, password, Bintray API token to the system environment (
/etc/profile
), and it is showing up as a variable. - Edited the
platformio.ini
file with my project’s properties. - Changed to release and uploaded, and all this resulted in the error mentioned above.
Observation
Upon following the link, which was in the error output, there was a plain text saying {"message":"Package '' was not found"}
. I tried changing the publish_firmware.py
file by commenting out the "content"
at the end of line 48. On that link, I got a login prompt, where I put in my password and username, but it doesn’t allow me in.
OS: macOS 10.15.7
PlatformIO IDE: VSCode