serverless-screenshot icon indicating copy to clipboard operation
serverless-screenshot copied to clipboard

Forbidden

Open marcpope opened this issue 7 years ago • 2 comments

I am getting: {"message":"Forbidden"}

After a successful deployment using the Cloud Formation button. Is there a way to debug this? I am using the API key and correct endpoint provided by amazon.

marcpope avatar Jan 11 '18 18:01 marcpope

Yeah, same problem. Spent an hour to troubleshoot. This is happening due to: https://github.com/serverless/serverless/issues/2450

Alas, author didn't warn that API keys won't work (produce 403 unauthorized errors) unless tied to a "Usage plan".

vizzah avatar Mar 04 '18 16:03 vizzah

i resolved the error by creating a usage plan, the associate the usage plan with your stage, the the api key

abu1993 avatar Mar 09 '18 08:03 abu1993