Not able to upload files to Nextcloud with Spaces as External Storage
I am not able to upload files on Nextcloud which uses Spaces as an external storage.
I am able to view the files that are already in the space.
On opening the network monitor, the PUT call on Nextcloud fails with 500. This is the log output
Aws\S3\Exception\S3Exception: Error executing "PutObject" on "http://spacename.sgp1.digitaloceanspaces.com/bookmarks_6_14_18.html"; AWS HTTP error: Client error response [url] https://spacename.sgp1.digitaloceanspaces.com/bookmarks_6_14_18.html [status code] 403 [reason phrase] Forbidden SignatureDoesNotMatch (client): - <?xml version="1.0" encoding="UTF-8"?><Error><Code>SignatureDoesNotMatch</Code><RequestId>tx0000000000000033e3ed6-005b2392f4-11ec04-sgp1a</RequestId><HostId>11ec04-sgp1a-sgp</HostId></Error>
Initially, I thought it was a CORS issue, so I made an entry with host as
* and allowing everything. Though, that did not help.
Any ideas why this could be happening ?