[Amazon S3 Connector] DELETE Object returning error "Error in operation (No Content)"

Forge Component
(5)
Published on 12 Jul by Guilherme Pereira
5 votes
Published on 12 Jul by Guilherme Pereira

Hi,


I get an error "Error in operation (No Content)" on delete operation, though the file does get deleted from AWS.

As per AWS documentation this seems to be the standard response for DELETE OBJECT function.

https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html

You help will be highly appreciated

Thanks.

Hi Yasser,


I'll change the component to handle the response without throwing an error and release a new version this week.


In the meantime you can handle the error directly on your module.


Cheers,

Guilherme

Hi Yasser,


I've just released a new version 2.2 of the component both for Outsystems 10 and 11 that handles the response 204 - NoContent in a proper way. Can you try it and let me know if it works for you?


Thanks,

Guilherme

In my case the same problem occurs, after updating the component the message does not appear but the file is not deleted