# Exception during using API: Status = 400 | Detail = This value should not be blank. |

**URL:** <https://forum.shopware.com/t/exception-during-using-api-status-400-detail-this-value-should-not-be-blank/95493>\
**Category:** Shopware 6 (English)\
**Created:** [27. Juli 2022 um 08:16 UTC](https://forum.shopware.com/t/exception-during-using-api-status-400-detail-this-value-should-not-be-blank/95493 "2022-07-27T08:16:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![piotr.kosinski](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@piotr.kosinski](https://forum.shopware.com/u/piotr.kosinski)\
**Post date:** [27. Juli 2022 um 08:16 UTC](https://forum.shopware.com/t/exception-during-using-api-status-400-detail-this-value-should-not-be-blank/95493/1 "2022-07-27T08:16:59Z")

</div>

Hi,  
I am integrating JTL-Wawi with Shopware via JTL-Connector. Everything is configured, works pretty smooth but in the middle of syncing products I got this error:

System.Exception: Exception: Controller = Product | Action = push | JTL-Wawi PK = XXX | SKU = XXX | Name = XXXXProductNameXXXX | [ffc77185-420a-43d9-b785-575f4e4825e6] The Shopware 6 Admin API responded with an error:  
Code = c1051bb4-d103-4f74-8988-acbcafc7fdc3 | Status = 400 | Detail = This value should not be blank. | Pointer = /0/translations/14f5b20028c64a679488b891af09e84d/customFields/short\_description

(some fields are marked by XXX)

And the magic is happened. Some facts:

- I checked the product in JTL-Wawi and products has a translations for all languages.
- In Shopware configuration, in Custom Fields sections, I unchecked „Required“ fields for „short\_description“.

So content looks good…

I was thinking that maybe json payload has a empty value: „short\_description“:„“ - and It was… So in vendor/shopware/core/Framework/Api/Controller/SyncController.php file I used str\_replace and replace „short\_description“:„“ for „short\_description“:„

missing

“ - I know that is a wrong way modify vendor, but I need it to debug. But… didn’t help. The same error.

So my questions are:

- Can somebody know how to check / debug / fix this issue?
- Does somebody know how to temporary disable incoming data validation? Just in order to make a full import.

I’m looking forward to hearing from you!

Best regards,  
Piotr
