REST API for Creator is not working in zoho books

REST API for Creator is not working in zoho books

Hi 

I wrote a custom function in books which adds a new record in zoho creator by REST API.It was working fine. But Today I faced an error called Error due to -'1'. I don't know to solve this. The error looks awkward as it is meaningless.

I tried API Integration method it works but there is no integration method for delete a record in creator which makes me sad. 

My code is

dataMap = Map();
 dataMap.put("authtoken","******************");
 dataMap.put("scope","creatorapi");

It worked fine but today throwing the error although the code remained unchanged