Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

149
Views
Unable to upload to S3 with Grails S3 Demo Application

I am trying to run a demo project for uploading to S3 with Grails 3.

The project in question is this, more specifically the S3 upload is only for the 'Hotel' example at the end.

When I run the project and go to upload the image, I get an updated message but nothing actually happens - there's no inserted url in the dbconsole table.

I think the issue lies with how I am running the project, I am using the command:

grails -Daws.accessKeyId=XXXXX -Daws.secretKey=XXXXX run-app

(where I am supplementing the X's for my keys obviously).

This method of running the project appears to be slightly different to the method shown in the example. I run my project from the command line and I do not use GGTS, just Sublime.

I have tried inserting my AWS keys into the application.yml but I receive an internal server error then.

Can anyone help me out here?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Check your bucket policy in s3. You need to grant permissions to the API user to allow uploads.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!