Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcloud.common.types.InvalidCredsError while using s3 storage #157

Open
Tauassar opened this issue Aug 19, 2024 · 0 comments
Open

libcloud.common.types.InvalidCredsError while using s3 storage #157

Tauassar opened this issue Aug 19, 2024 · 0 comments

Comments

@Tauassar
Copy link

Tauassar commented Aug 19, 2024

File wrapper automatically adds extra content_type meta, which causes exception during file upload:

libcloud.common.types.InvalidCredsError: '<?xml version="1.0" encoding="UTF-8"?><Error><Code>SignatureDoesNotMatch</Code><Message></Message><RequestId>tx00000c4ed9d9304551ffa-0066c37cf0-dcdddbd4-kz-ala-1</RequestId><HostId>dcdddbd4-kz-ala-1-kz-ala-1</HostId></Error>'

Extra content_type meta is added inside File wrapper, on line 113

extra["meta_data"].update(
    {"filename": self.filename, "content_type": self.content_type}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant