Angular APP > Failed to load resource: the server responded with a status of 403 () on aws bucket s3.

0

Hello to everyone!

I have angular app deployed to AWS S3 bucket that Failed to load resource: the server responded with a status of 403 () on aws bucket s3.

I use "@angular/core": "~17.1.0".

Thanks

2 Answers
0

Hi,

403 is an issue with IAM Authorizations: can you go to CloudTrail to obtain the failing API call and the identity under which is is done to get the root cause of your problem ?

Follow this guidance to do it: https://repost.aws/knowledge-center/cloudtrail-track-api

Best,

Didier

profile pictureAWS
EXPERT
answered 2 months ago
  • CloudTrail logs don't include data events, such as s3:GetObject, by default.

0

How are you accessing your S3 bucket? Is it simply from your web browser and with the S3 bucket enabled for static website hosting?

EXPERT
Leo K
answered 2 months ago