# Web API posting lists gives error

**URL:** <https://community.triggre.com/t/web-api-posting-lists-gives-error/708>\
**Category:** Support\
**Created:** [May 24, 2024, 6:32am UTC](https://community.triggre.com/t/web-api-posting-lists-gives-error/708 "2024-05-24T06:32:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lode.pijpelink](https://avatars.discourse-cdn.com/v4/letter/l/779978/32.png) [@lode.pijpelink](https://community.triggre.com/u/lode.pijpelink)\
**Post date:** [May 24, 2024, 6:32am UTC](https://community.triggre.com/t/web-api-posting-lists-gives-error/708/1 "2024-05-24T06:32:33Z")

</div>

Hi all,  
I’ve been working on an API and I have some difficulties with using the post option with a list.

The problem is that I get a 500 error when trying to make it in Triggre, but it’s the same as in postman and in postman it does work.

I have a suspisicion that it has to do with the list i’m using.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/triggre/original/1X/50da6c591adc3c7fdbd6b6735666d9cdc609a01a.png)

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/triggre/original/1X/da23fb916a6229ee518e50ffa7dc7e8111e10c18.png)

Does somebody know what I’m doing wrong here?

---

<div class="post-metadata">

**Author:** ![Eddie](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/eddie/32/89_2.png) [@Eddie](https://community.triggre.com/u/Eddie)\
**Post date:** [May 24, 2024, 7:11am UTC](https://community.triggre.com/t/web-api-posting-lists-gives-error/708/2 "2024-05-24T07:11:20Z")

</div>

Unfortunately you currently can’t retrieve the content of the response when there’s a 500-error. We’ve put this on our backlog to create.

---

<div class="post-metadata">

**Author:** ![Jesse](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/jesse/32/88_2.png) [@Jesse](https://community.triggre.com/u/Jesse)\
**Post date:** [May 24, 2024, 7:20am UTC](https://community.triggre.com/t/web-api-posting-lists-gives-error/708/3 "2024-05-24T07:20:21Z")

</div>

If you get a 500 error from the other side (not the Triggre side), it is not related to the data you receive.

It is likely the data you send that has a mistake. Can you post what data you send to the other API?

Also please note this post, which ran into a similar problem: [https://community.triggre.com/t/json-response-post-api/](https://community.triggre.com/t/json-response-post-api/)

---

<div class="post-metadata">

**Author:** ![Eddie](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/eddie/32/89_2.png) [@Eddie](https://community.triggre.com/u/Eddie)\
**Post date:** [May 24, 2024, 7:21am UTC](https://community.triggre.com/t/web-api-posting-lists-gives-error/708/4 "2024-05-24T07:21:51Z")

</div>

> [@lode.pijpelink](#):
>
> API and I have some difficulties with using the post option with a list.
> 
> The problem is that I get a 500 error when trying to make it in Triggre, but it’s the same as in postman and in postman it does

Jesse, was right, I was a bit too fast.  
Can you send me the name of the sub domain of your application by PersonalMessage, so i can investigate your design?

---

<div class="post-metadata">

**Author:** ![Eddie](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/eddie/32/89_2.png) [@Eddie](https://community.triggre.com/u/Eddie)\
**Post date:** [May 24, 2024, 7:42am UTC](https://community.triggre.com/t/web-api-posting-lists-gives-error/708/5 "2024-05-24T07:42:00Z")

</div>

Hi Lode,

It seems salesInvoiceLines is empty.

In the upcoming weeks we’re going to post a TriggreWeekendMasterClass with a nice trick how to use Zapier to check what you’re actually sending in your message.

To give you a small hint: Create a Raw WebHook in Zapier and change the URL in your application to that WebHook URL. Send the Raw body to yourself via email.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/triggre/original/1X/367281c6ef0a1cef3dd636979e56e8a6918e707f.png) [@system](https://community.triggre.com/u/system)\
**Post date:** [June 7, 2024, 7:08am UTC](https://community.triggre.com/t/web-api-posting-lists-gives-error/708/6 "2024-06-07T07:08:18Z")

</div>

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