1 Answer
- Newest
- Most votes
- Most comments
0
I noticed that you're using both 'credentials' and 'profile' in your S3Client configuration. The 'profile' option is used to specify a profile in your AWS credentials file, and the 'credentials' option is used to specify your AWS credentials directly. You should use one or the other, not both. If you're providing your AWS credentials directly in your code, you should remove the 'profile' option.
answered a year ago
Relevant content
- asked 2 years ago
- asked 3 years ago
- asked 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago
Just to answer my own query, the issue was due to PHP version 8. I have downgraded it to PHP 7.3 and the error is gone. Thanks guys