Getting a ParseError: 141 [object Object] in Javascript SDK, I am unable to determine what am I doing wrong. am I doing wrong

I run a post request via javascript SDK(node server running express 4.x and Parse SDK for JavaScript)
this is how i initialize parse

        Parse.initialize(configObject.name, configObject.apiK);
        Parse.serverURL = configObject.apiUrl;

The request itself looks like this.

async function parseCall(promotions){
  var postvar = {promotion:promotions,countrycode:"DE"};
    try {
      const postParse = await Parse.Cloud.run("getAvailableWebPurchases",postvar);
    } catch(error) {
      console.error('Request failed with response code ' +error);
    }
}

When the request runs I get Request failed with response code ParseError: 141 [object Object]

I got to the point that I can’t figure out what am I doing wrong. (API key and server URL are correct and the function name is also spot ton) I will be thankful for any help or suggestion.

Error code 141 comes from throwing out of a cloud function, e.g:

Parse.Cloud.define("getAvailableWebPurchases", request => {
    throw "Error"
});

  try {
    await Parse.Cloud.run("getAvailableWebPurchases")
  } catch(e) {
    // error code will be 141
  }

Somewhere in your cloud function, it looks like you are throwing an object (maybe the result of a query?). It could be helpful if you post the code for your cloud function? You could also look at your server logs which will indicate what [object Object] is.

Thank you very much for the reply and help.

You were correct I have checked the cloud function and doe to mistake it was throwing an object.