Liferay with S3 – The action Create Object in bucket cannot be performed with an invalid bucket: null

Issue

  • You are trying to integrate AWS S3 bucket with your Liferay Application.
  • You have a dedicated IAM user, Access Key, Secret Key for the bucket.
  • You are getting the below error.
    “ERROR:
    ” com.liferay.portal.kernel.exception.SystemException: org.jets3t.service.S3ServiceException: The action Create Object in bucket cannot be performed with an invalid bucket: null””

Resolution

  • Makesure the below policy is set for the IAM user.
  • Replace “jobnix-bucket” with your bucket name.
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Scroll to Top