You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using an S3 bucket to save files from Laravel application uploads. When trying to upload the file, I get the following error:
[previous exception] [object] (GuzzleHttp\\Exception\\ClientException(code: 403): Client error: `PUT https://my-bucket.s3.amazonaws.com/1077c090.png` resulted in a `403 Forbidden ` response:
<Error><Code>InvalidAccessKeyId</Code><Message>The AWS Access Key Id you provided does not exist in our records.</Message><AWSAccessKeyId>ASIAZ7N74ORBT6RJ5AAA</AWSAccessKeyId><RequestId>KFZADDG3V6QX8AAA</RequestId><HostId >IH1lvnySucUhfJBX7k2HAAA=</HostId></Error> {"userId":2,"exception":"[object] (Aws\\S3\\Exception\\S3Exception(code: 0): Error executing \"PutObject\" on \"https://my-bucket.s3.amazonaws.com/1077c090.png\"; AWS HTTP error: Client error: `PUT https://my-bucket.s3.amazonaws.com/1077c090.png` resulted in a `403 Forbidden` response:
The problem in this case is that the second error says that the access key is invalid. I don't know where he gets this key from, it's not the key I inform in the .env file.
What is this key that it displays in the error: <AWSAccessKeyId>ASIAZ7N74ORBT6RJ5AAA</AWSAccessKeyId>?
(not the original key that displays on panel, omitted characters).
Any idea what it could be?
Thanks
The text was updated successfully, but these errors were encountered:
The AWS API key I entered in the .env file was for access to the bucket I have already created. The .env file now looks like this, without the credentials:
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=my-bucket
Even though I don't enter the credentials, I get the error I reported above.
The only AWS key I have is the configuration keys in ~/.aws/credentials.
As an attempt to solve it, I followed the documentation to create the bucket automatically by the lift plugin and I have the same error.
What I don't understand is the AWSAccessKeyId that is displayed in the log, I have no idea where it is.
Hi, I'm using an S3 bucket to save files from Laravel application uploads. When trying to upload the file, I get the following error:
The problem in this case is that the second error says that the access key is invalid. I don't know where he gets this key from, it's not the key I inform in the
.env
file.What is this key that it displays in the error:
<AWSAccessKeyId>ASIAZ7N74ORBT6RJ5AAA</AWSAccessKeyId>
?(not the original key that displays on panel, omitted characters).
Any idea what it could be?
Thanks
The text was updated successfully, but these errors were encountered: