Hi Everyone,
I am using the REST APIs to create a new Stock Entry (purpose “Material transfer”).
The problem I am having is that if I create it with at least one item, it works, but when I try to create it with no items I get the infamous “(417) EXPECTATION FAILED”.
I tried passing no “items” property in the JSON, as well as “items”: null, as well as “items”: [] - all to no avail.
Is there a way to create it with no items?
And while I am here, is there a way to debug the “417” error, to work out the reason it is thrown (in my case, missing items)?
Thanks.