# Bug with integration field API

**URL:** <https://community.prismic.io/t/bug-with-integration-field-api/5814>\
**Category:** Prismic for Content Creators\
**Created:** [June 16, 2021, 3:09pm UTC](https://community.prismic.io/t/bug-with-integration-field-api/5814 "2021-06-16T15:09:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![codingspark](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/codingspark/32/2389_2.png) [@codingspark](https://community.prismic.io/u/codingspark)\
**Post date:** [June 16, 2021, 3:09pm UTC](https://community.prismic.io/t/bug-with-integration-field-api/5814/1 "2021-06-16T15:09:39Z")

</div>

I'm trying to push the following to integration API write

```auto
    url: 'https://if-api.prismic.io/if/write/nookah--pricing_packages',
    method: 'post',
    data: '[{"id":"prod_JgN38pnqaGq5fD","title":"Version Jeuns","description":null,"image_url":"https://files.stripe.com/links/MDB8YWNjdF8xRVgyTlRIMnl5Qk1ZZk1afGZsX3Rlc3RfYlp3M3BYekVWMXF6OWRPemFqeTdZYXcy00JiIl7mkI","last_update":1623855960,"blob":{"data":{"id":"prod_JgN38pnqaGq5fD","object":"product","active":true,"attributes":[],"created":1623855960,"description":null,"images":["https://files.stripe.com/links/MDB8YWNjdF8xRVgyTlRIMnl5Qk1ZZk1afGZsX3Rlc3RfYlp3M3BYekVWMXF6OWRPemFqeTdZYXcy00JiIl7mkI"],"livemode":false,"metadata":{},"name":"Version Jeuns","package_dimensions":null,"shippable":null,"statement_descriptor":null,"type":"service","unit_label":null,"updated":1623855960,"url":null},"plan":{"id":"price_1J30JZH2yyBMYfMZOAlz3ApJ","amount":2200}}}]',

```

I'm getting body is missing or malformated…

No idea why

---

<div class="post-metadata">

**Author:** ![Fares](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@Fares](https://community.prismic.io/u/Fares)\
**Post date:** [June 16, 2021, 7:27pm UTC](https://community.prismic.io/t/bug-with-integration-field-api/5814/3 "2021-06-16T19:27:13Z")

</div>

HI Andréas,

Welcome to the Prismic community,

I have checked the JSON you are sending, and for me probably there have fields in your call that don't exist in your custom type.

Is the repository name you are trying to push to is "nookah"?

Looking forward to your reply,  
Fares.

---

<div class="post-metadata">

**Author:** ![codingspark](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/codingspark/32/2389_2.png) [@codingspark](https://community.prismic.io/u/codingspark)\
**Post date:** [June 16, 2021, 7:40pm UTC](https://community.prismic.io/t/bug-with-integration-field-api/5814/4 "2021-06-16T19:40:15Z")

</div>

Hello, thanks 🙂

That's it, nookah.

But I've no idea why it wouldn't exist, as it's a custom integration field. Maybe it might be about the description being sent as null ?

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [July 7, 2021, 8:31pm UTC](https://community.prismic.io/t/bug-with-integration-field-api/5814/6 "2021-07-07T20:31:55Z")

</div>

Hello @codingspark, I did find an error and it seems it's because there's an extra coma in the JSON. Have you been able to sort this out?

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [July 15, 2021, 7:49am UTC](https://community.prismic.io/t/bug-with-integration-field-api/5814/9 "2021-07-15T07:49:39Z")

</div>

This thread has been closed due to inactivity. [Flag to reopen](https://community.prismic.io/t/re-open-a-thread/2175).

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 12:37pm UTC](https://community.prismic.io/t/bug-with-integration-field-api/5814/10 "2021-12-09T12:37:46Z")

</div>


