I have it working on my localhost but in production even if I have the same configurations with exactly the same API_KEY and SECRET_KEY doesn't work. I tried putting a bucket that I created manually and another that doesn't exists, none of them worked. I think it is maybe a bug with aws-sdk-php but I don't have any idea what could be wrong.
Then, the response sends this message:
""" Error executing "CreateBucket" on "http://rsbucketalphad4.s3-us-west-2.amazonaws.com/"; AWS HTTP error: Client error: PUT http://rsbucketalphad4.s3-us-west-2.amazonaws.com/` resulted in a 403 Forbidden response:\n
\n
AccessDeniedAccess DeniedDCBF25 (truncated...)\n
AccessDenied (client): Access Denied - \n
AccessDeniedAccess DeniedDCBF25BF8A4D35B8J/1zgLRO/1jSux0U2yyEW3eH24dYFJvgqD29w7maVlWzY7z5H0h7GQRThcUjCCSvTQY2PN4AxCI=
"""`
I have it working on my localhost but in production even if I have the same configurations with exactly the same API_KEY and SECRET_KEY doesn't work. I tried putting a bucket that I created manually and another that doesn't exists, none of them worked. I think it is maybe a bug with aws-sdk-php but I don't have any idea what could be wrong.
Then, the response sends this message:
\n""" Error executing "CreateBucket" on "http://rsbucketalphad4.s3-us-west-2.amazonaws.com/"; AWS HTTP error: Client error:PUT http://rsbucketalphad4.s3-us-west-2.amazonaws.com/` resulted in a403 Forbiddenresponse:\nAccessDeniedAccess DeniedDCBF25 (truncated...)\nAccessDenied (client): Access Denied - \n
AccessDeniedAccess DeniedDCBF25BF8A4D35B8J/1zgLRO/1jSux0U2yyEW3eH24dYFJvgqD29w7maVlWzY7z5H0h7GQRThcUjCCSvTQY2PN4AxCI="""`