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.