Help

Re: All my scripts giving same error for remoteFetchAsync

182 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Ruchit_Surati
4 - Data Explorer
4 - Data Explorer

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.

1 Reply 1
Angel_Claudio
5 - Automation Enthusiast
5 - Automation Enthusiast

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