-
Notifications
You must be signed in to change notification settings - Fork 110
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
SignatureDoesNotMatch when creating redirects with special characters #218
Comments
Just as a sanity check, does it work when your path does not contain special characters? SignatureDoesNotMatch can indicate incorrect credentials. Also, what's your config look like? Are you using |
Hi, Yes, it normally works for other files (the error is thrown after some files have been uploaded). |
Actually, now when I'm looking at it, we do not escape the characters in the |
Added encoding and it seems to work much better. However, that seems to me as an inconsistency compared to how gatsby's Love the plugin, super simple and works like a charm for our page! Keep up the good work |
The AWS docs don't mention any requirement to escape the value, but I guess it makes sense that it has to be URL safe. We should implement escaping. Still, I'm surprised that you get a SignatureDoesNotMatch error, that seems very strange. Unfortunately aws-sdk doesn't often provide useful error messages, and if we tried to read them and provide more helpful ones it would really just be guesswork. |
Hello!
I'm using your plugin to deploy our website to an S3 bucket. When I've implemented some redirects I get the following error:
One example of the redirects I'm trying to create:
Which in code looks like this:
Note that I'm using the same slug as I'm doing when creating the page. What am I doing wrong?
The text was updated successfully, but these errors were encountered: