WixData.GET Backend Help

I am running this code, the idea is that it will return an object containing the item

This is the code I am using

...
 case 'get':
 let options = {
 "suppressAuth": true,
 "suppressHooks": true
};

 let item = wixData.get('items', 'itemID',options);
        response.body = item;
 return ok(response);
 ...

This is the response I get

{"isFulfilled":false,"isRejected":false}

I noticed the error is in the way I am doing the WixData.get if I type something else on response.body it’ll work

Hi, Carlos.
Please notice that wixData.get will return you a promise, so try to use async await or .then as described in an example https://www.wix.com/code/reference/wix-data.html#get
Please let me know if it helps.