# Getting error while calling API

**URL:** <https://community.n8n.io/t/getting-error-while-calling-api/10382>\
**Category:** Questions\
**Tags:** node\
**Created:** [January 6, 2022, 3:57pm UTC](https://community.n8n.io/t/getting-error-while-calling-api/10382 "2022-01-06T15:57:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saandhy\_Ganeriwala](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/saandhy_ganeriwala/32/6152_2.png) [@Saandhy\_Ganeriwala](https://community.n8n.io/u/Saandhy_Ganeriwala)\
**Post date:** [January 6, 2022, 3:57pm UTC](https://community.n8n.io/t/getting-error-while-calling-api/10382/1 "2022-01-06T15:57:39Z")

</div>

![image](https://europe1.discourse-cdn.com/n8n/original/2X/a/a36712451ecbbfa86297a63e90e30544daca5c1b.jpeg)

Hi can someone help me with this error? This API endpoint is being called in other workflows (those have different authentication keys) and the calls are going through. But in this workflow it is failing.

Is this error something related to n8n? Or does it seem like an error returned by the endpoint itself ?

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [January 6, 2022, 4:05pm UTC](https://community.n8n.io/t/getting-error-while-calling-api/10382/2 "2022-01-06T16:05:47Z")

</div>

Hey @Saandhy_Ganeriwala, a [500 error](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500?retiredLocale=id) is coming from the endpoint would suggest a problem with the receiving server.

Maybe the payload isn’t quite what the server is expecting? Is it any different from your workflows where the request is successful?
