SDK: Python with API
Issue: unable re-upload(update) a exist file
Function: storage.create_file
Error: "A storage file with the requested ID already exists"
TL;DR
The user was getting an error while trying to update a storage file. The solution is to delete the existing file first and then create a new one to avoid caching issues. The function to use is `storage.create_file`.
Drake
22 Sep, 2023, 02:01
correct...you need to delete hte file first...however, I recommend creating a new file instead of recreating it because you might run into problems if the client has cached the file