All my scripts giving same error for remoteFetchAsync

Hi,

I am getting this error for all calls to remoteFetchAsync.

j: Error: Non-200 Response Received: 500

Our request, looks like below.

let response = await remoteFetchAsync(qbBaseURL+"/v3/company/"+qbRealmId+"/query?minorversion=62", {
method: ‘POST’,
body: “select * from Customer Where DisplayName LIKE '%”+customerName+"%’",
headers: {
‘Content-Type’: “application/text”,
“Authorization”: "Bearer " + qbAccessToken,
“Accept”:“application/json”
}});

let data = await response.json();

Can someone pls assist?

Regards.

Hey by any chance are you attempting to use Quickbooks’ API? I’ve been getting the same error since 11/15 at 11am and have not been able to come up with any solutions