TypeError: the JSON object must be str, bytes or bytearray, not 'dict'

Dears,

I’m tring to create item one ERPNext using postman and REST API, after submiting the request i have the 500 error: “TypeError: the JSON object must be str, bytes or bytearray, not ‘dict’”

the following is the request and data:

please advise

This seems to be a general bug in frappe – it’s not possible to create new documents via the API at the moment.

https://github.com/frappe/frappe/issues/8230

Unfortunately you’ll have to wait until the fix gets merged.