Call a Create Note API 404 Error

Hi there! I’m on stage of Calling the create API. However when I call it, it returns “Error: Request failed with status code 404”. I have checked the S3 bucket and images are being uploaded to S3 normally, however the DynamoDB table doesn’t get updated. I tried to execute the create mock and it works fine. I’m stuck. Anybody has any ideas of this?

Hello, could you check the POST url shown on the image provided ? It includes the region “us-east-1” on localhost, that seems a bit weird to me. What url do you use for a GET request which works ?

Thank you! I found what was the problem. In the .config file I put the url in region object and visa verse:)

1 Like

You are welcome! I’m glad I could help.

1 Like