Skip to main content

All my scripts giving same error for remoteFetchAsync

  • November 16, 2021
  • 1 reply
  • 8 views

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

Angel_Claudio
Forum|alt.badge.img+6
  • New Participant
  • 4 replies
  • November 18, 2021

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