Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

145
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda