10.X REST API is throwing error while creating thread using CURL or POSTMAN

we are receiving following error wile making the API cal to create thread. 

Exception is as follows: