# Call API 400 error

**URL:** <https://community.glideapps.com/t/call-api-400-error/83142>\
**Category:** Ask for Help\
**Tags:** api\
**Created:** [July 13, 2025, 2:37pm UTC](https://community.glideapps.com/t/call-api-400-error/83142 "2025-07-13T14:37:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)\
**Post date:** [July 13, 2025, 2:37pm UTC](https://community.glideapps.com/t/call-api-400-error/83142/1 "2025-07-13T14:37:44Z")

</div>

I know it sounds so basic 🙂

Here’s what works in Postman:

 ![Screenshot 2025-07-14 at 00.35.02](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/d/3db49d9a7beb0e1528e5b78f1b94d5f76e52823a.png)

Here’s what produces a 400 error in Glide:

 ![Screenshot 2025-07-14 at 00.35.13](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/0/00df381d99d083683b48f81a1f291b8b7ea4cd36.png)

(Yes, they look identical and therefore should both work but 🤷‍♂️)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 13, 2025, 2:53pm UTC](https://community.glideapps.com/t/call-api-400-error/83142/2 "2025-07-13T14:53:22Z")

</div>

![CleanShot 2025-07-13 at 22.52.12@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/8/08b5beee58c452bfee244e1d26348167034a6c64.jpeg)

---

<div class="post-metadata">

**Author:** ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)\
**Post date:** [July 13, 2025, 2:56pm UTC](https://community.glideapps.com/t/call-api-400-error/83142/3 "2025-07-13T14:56:43Z")

</div>

Nah this works for other api calls (I’m using a base64-encoded string, not a token).

I actually just found I had to specify content-type as a custom header as Glide was defaulting to text rather than json! (sigh emoji)

Thanks man

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [July 20, 2025, 2:57pm UTC](https://community.glideapps.com/t/call-api-400-error/83142/4 "2025-07-20T14:57:37Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
