Closed perceptualJonathan closed 1 year ago
It seems to be a bug in v4.0.0 https://github.com/uploadcare/uploadcare-php/blob/v4.0.0/src/Apis/FileApi.php#L124. The deleteFile
method makes a request to the wrong endpoint. Upgrading to v4.1.* should help.
Yes, that was sufficient to fix the issue.
Describe the bug
I am attempting to delete a previously uploaded file via the Uploadcare API for PHP with a given UUID, but when attempting to do so, there is a Guzzle error blocking the delete. The file was previously uploaded with the PHP API without a problem.
Expected behavior
The file is deleted and the file info of the deleted file is returned
Code / screenshots
Reproducible example to generate the error
Error message:
Environment