# Call a Create Note API 404 Error

**URL:** <https://discourse.sst.dev/t/call-a-create-note-api-404-error/1049>\
**Category:** Chapter Comments\
**Created:** [June 4, 2019, 3:13am UTC](https://discourse.sst.dev/t/call-a-create-note-api-404-error/1049 "2019-06-04T03:13:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kissa1001](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/kissa1001/32/492_2.png) [@kissa1001](https://discourse.sst.dev/u/kissa1001)\
**Post date:** [June 4, 2019, 3:13am UTC](https://discourse.sst.dev/t/call-a-create-note-api-404-error/1049/1 "2019-06-04T03:13:12Z")

</div>

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?

 ![48%20PM](https://canada1.discourse-cdn.com/flex032/uploads/serverless_stack/original/1X/ad9f1bea5bb49dfd043979ba2fea831ab3b2341c.png)

---

<div class="post-metadata">

**Author:** ![ehemmerlin](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/ehemmerlin/32/495_2.png) [@ehemmerlin](https://discourse.sst.dev/u/ehemmerlin)\
**Post date:** [June 6, 2019, 4:44am UTC](https://discourse.sst.dev/t/call-a-create-note-api-404-error/1049/2 "2019-06-06T04:44:47Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![kissa1001](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/kissa1001/32/492_2.png) [@kissa1001](https://discourse.sst.dev/u/kissa1001)\
**Post date:** [June 6, 2019, 5:43am UTC](https://discourse.sst.dev/t/call-a-create-note-api-404-error/1049/3 "2019-06-06T05:43:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ehemmerlin](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/ehemmerlin/32/495_2.png) [@ehemmerlin](https://discourse.sst.dev/u/ehemmerlin)\
**Post date:** [June 6, 2019, 8:59am UTC](https://discourse.sst.dev/t/call-a-create-note-api-404-error/1049/4 "2019-06-06T08:59:52Z")

</div>

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