# Something is causing a 502 error

**URL:** <https://community.fibery.io/t/something-is-causing-a-502-error/3556>\
**Category:** Bugs & Issues\
**Created:** [November 18, 2022, 8:44pm UTC](https://community.fibery.io/t/something-is-causing-a-502-error/3556 "2022-11-18T20:44:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![helloitse](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/helloitse/32/498_2.png) [@helloitse](https://community.fibery.io/u/helloitse)\
**Post date:** [November 18, 2022, 8:44pm UTC](https://community.fibery.io/t/something-is-causing-a-502-error/3556/1 "2022-11-18T20:44:45Z")

</div>

When making API calls in Integromat I sometimes get this error.

##### RuntimeError

[502] An invalid response was received from the upstream server

---

<div class="post-metadata">

**Author:** ![Oshyan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/oshyan/32/11431_2.png) [@Oshyan](https://community.fibery.io/u/Oshyan)\
**Post date:** [November 20, 2022, 4:16am UTC](https://community.fibery.io/t/something-is-causing-a-502-error/3556/2 "2022-11-20T04:16:09Z")

</div>

I was getting 502 when trying to #mention entities _in Fibery_ earlier today or yesterday for a little bit. Wonder if related. How long has it been happening for you? You might try again if it was just happening in a particular time period recently, it may have been temporary.

---

<div class="post-metadata">

**Author:** ![helloitse](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/helloitse/32/498_2.png) [@helloitse](https://community.fibery.io/u/helloitse)\
**Post date:** [December 15, 2022, 9:32pm UTC](https://community.fibery.io/t/something-is-causing-a-502-error/3556/3 "2022-12-15T21:32:48Z")

</div>

My scenarios stall maybe once a month due to this error. I have an error handler for most modules but I wait until I receive the error to add it to a new one just to keep tabs on the problem.

I first started importing thousands of records a month into Fibery this January and have gotten this error ever since. I know you’ll get this error if trying to send too many/too bulky of a command to the batch endpoints in the original API. But I got the error when using Integromat module which only sends one request at a time.
