Invalid Security Token *only* when using Transcribe

0

I am using Vapor to deploy my laravel application to AWS. The keys that I am using locally to connect to AWS Transcribe are working, but I am getting this error when I send a request to Transcribe from one of my Vapor environments:

{"__type":"UnrecognizedClientException","message":"The security token included in the request is invalid."}

I am using my environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to authenticate in multiple places (including my Transcribe request) but this is the only failure. Again, this works fine locally. I have also opened a ticket with Vapor so they may have a solution for me soon - but my gut tells me this needs to be solved from within my AWS console.

Any suggestions are appreciated! Thanks in advance.

Brian
preguntada hace 5 meses268 visualizaciones
1 Respuesta
0
Respuesta aceptada

Hello.

Are the access keys set on Vapor the same as when you verified it on your local PC?
A common problem is that the access key and secret access key pair do not match.
Also, will it result in an error if I write the access key directly in the code?

profile picture
EXPERTO
respondido hace 5 meses
  • That's a great idea thank you! It works! So this should be fixed in Vapor then right? I'm sure the support over there can help me with that.

  • I think there was a problem with either the setting method or the Vapor side. I think if you ask support, they might be able to give you some hints that will lead to a solution.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas