Getting Blank Error Returned in Postman on wix-http-functions Post Function

Hi All,

I swear I have read through all the posts here on the subject before posting. I have also verified the collection I am using has the “anyone” permissions set all the way through. I am able to write to the collection (referencing example from: https://support.wix.com/en/article/corvid-tutorial-importing-and-exporting-collection-data-with-code#import-code-1 ) using a submission form on the site with the same JSON as below so I know that it is formatted correctly.

I have created the http-functions.js with the following code:

import {created, serverError} from 'wix-http-functions';
import wixData from 'wix-data';

export function post_inventory(request) {
	let options = {
		"headers": {"Content-Type": "application/json",
		"suppressAuth": "true"
		}
	};
	// get the request body
	return request.body.json()
		.then( (body) => {
			// insert the item in a collection
				//return wixData.insert("myCollection", JSON.Parse(body));
				return wixData.insert("myCollection", body);
			
  	} )
	  .then( (results) => {
    	options.body = {
    		"inserted": results
			};
    	return created(options);
	  } )
		// something went wrong
	  .catch( (error) => {
			
			options.body = {
			"error": error
			};
	    return serverError(options);
	  } );
}


I am using the following json:
[
{
“title”: “Stack 001”,
“newField”: 2019,
“baleSize”: 500,
“commodity”: “Hay”,
“grade”: “Premium”,
“rfv”: 15,
“tdn”: 25,
“cp”: 45,
“cutting”: “1st”,
“availableTons”: 50,
“salePendingTons”: 25
},
{
“title”: “Stack 002”,
“newField”: 2019,
“baleSize”: 500,
“commodity”: “Hay”,
“grade”: “Standard”,
“rfv”: 15,
“tdn”: 25,
“cp”: 45,
“cutting”: “1st”,
“availableTons”: 30,
“salePendingTons”: 25
},
{
“title”: “Stack 003”,
“newField”: 2017,
“baleSize”: 800,
“commodity”: “Hay”,
“grade”: “Superior”,
“rfv”: 15,
“tdn”: 25,
“cp”: 45,
“cutting”: “1st”,
“availableTons”: 575,
“salePendingTons”: 25
}
]

When I submit the request through Postman I am getting the following back:
{
“error”: {}
}

I have verified it is hitting the endpoint. I am completely at a loss why this is happening. I am sure it’s something stupid on my part and would appreciate any help you can give. Is there another way to debug this?

Thanks!