Trying to upload a file using the API

mcsoftc

New Member
Sep 8, 2025
1
0
1
Hi, I'm trying to upload a snippet to my local storage using an API call but I keep getting this error no matter what method I try.

Response status code does not indicate success: 500 (upload failed at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1365.).


I've already tried using differents API Tokens, username and password.

The error itself is not that descriptive. Any suggestions?
 
snippets are not uploadable over the API at the moment.