# Need help: How can I debug API call error?

**URL:** <https://community.glideapps.com/t/need-help-how-can-i-debug-api-call-error/80806>\
**Category:** Ask for Help\
**Created:** [March 18, 2025, 7:38am UTC](https://community.glideapps.com/t/need-help-how-can-i-debug-api-call-error/80806 "2025-03-18T07:38:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 18, 2025, 7:38am UTC](https://community.glideapps.com/t/need-help-how-can-i-debug-api-call-error/80806/1 "2025-03-18T07:38:35Z")

</div>

Hi Guys,

I am using video from Marco

> [@graduation\_cap Glide Tutorial - Add, Edit or Delete Multiple Rows (Using Glide's API)](https://community.glideapps.com/t/glide-tutorial-add-edit-or-delete-multiple-rows-using-glides-api/65138):
>
> [[🎓 Glide Tutorial - Add, Edit or Delete Multiple Rows (Glide API)] ](https://www.youtube.com/watch?v=b7_k3_brusQ) What’s up Gliders! Glide’s new native API functionality has unlocked a ton of power exploding_head I’ve always wanted the ability to natively add, edit, or delete multiple rows without needing Make/Zapier… And after seeing a quick loom from @Darren_Murphy I was reminded that this is now possible handshake In this video I explain: How to add a predefined list of tasks to a new project. How to delete any task…

To add multiple rows into a new table by following the steps mentioned above in the video.

It was all working fine but recently on click of my button to initiate the action its failing on the API call it just says **Call API returned a failing HTTP status: 400**

I am not able to figure out how can I debug this issue? Here is screenshot of my action

 ![Screenshot 2025-03-18 at 1.07.30 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/f/1fd5764c26b8635a6659eec42db1618e750eefa9.png)

Want to know how can I go about debugging this issue?  
PS: I have added response status and body to be added, but nothing really prints in it in DB  
Thank you in advance for your help.

Regards,  
Dilip

---

<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:** [March 18, 2025, 8:21am UTC](https://community.glideapps.com/t/need-help-how-can-i-debug-api-call-error/80806/2 "2025-03-18T08:21:07Z")

</div>

- Double check the configuration on the Call API step. In particular, make sure you have the header values set correctly.
- Click on the brackets next to the failing step, and it will show you what was sent. Examine that carefully.
- Before triggering the action, copy your JSON body and paste it into [https://jsonlint.com/](https://jsonlint.com/) to check if it is valid.

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [March 18, 2025, 9:56am UTC](https://community.glideapps.com/t/need-help-how-can-i-debug-api-call-error/80806/3 "2025-03-18T09:56:36Z")

</div>

Hi @Darren_Murphy ,

Thank you soo much for your reply. There was an issue in JSON.

I figured it out.

Thank you again for helping.

Regards,  
Dilip

---

<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:** [March 25, 2025, 9:57am UTC](https://community.glideapps.com/t/need-help-how-can-i-debug-api-call-error/80806/4 "2025-03-25T09:57:01Z")

</div>

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