Error "Request failed with status code 403" When Creating Lambda with Java17 Runtime

0

I'm trying to create a Lambda function via AWS Console with Java17 runtime with other settings kept to default, using the Root user. I get the error "Request failed with status code 403".

I can create Lambda functions with NodeJs runtime.

Any pointers to resolve this error is much appreciated.

Omega
asked 9 months ago343 views
2 Answers
0

I've seen users experiencing same problem and in their case they were able to create the function in python but not in nodejs.

I'd suggest you to check the cloudtrail event and see what's getting denied, here is how you'd look up the failed attempt in cloudtrail:

Go to cloudtrail console -> event history -> Lookup attributes as EventName from drop down -> Event name CreateFunction20150331 in value and search. You'll see what's getting denied.

Accordingly you should be able to find and fix the problem.

Hope this helps.

Comment here how it goes, happy to assist further.

Abhishek

profile pictureAWS
EXPERT
answered 9 months ago
0

Hi, you can got to Event Logs in AWS Personal Health Dashboard (https://aws.amazon.com/premiumsupport/technology/aws-health-dashboard/). We have seen cases which indicated that permissions on the account were temporary limited by AWS due to Risk IAM quarantine and some suspicious activity.

Best,

Didier

profile pictureAWS
EXPERT
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions