Server error: 'POST https://api.reckon.com/RAH/v2' resulted in a '500 Internal Server Error' respons

Options
Raymond Dacillo
Raymond Dacillo Member Posts: 12
edited February 2020 in Accounts Hosted
Hi,
Just want to ask why I always getting this error when I request to the api.

Here's my code when requesting to your api

HttpClient::request('POST', 'https://api.reckon.com/RAH/v2', [
'body' => '{"FileName":"Q:\\Cougar Enterprises.QBW","Operation":"<?xml version="1.0\""?><?qbxml version=\""6.1\""?><QBXML><QBXMLMsgsRq onError=\""continueOnError\""><SalesTaxCodeQueryRq /></QBXMLMsgsRq></QBXML>"",""UserName"":""Admin"",""Password"":""admin"",""CountryVersion"":""2019.R2.AU""}',
'headers' => [
'Authorization' => 'Bearer 4785b4ab2ea91351ba4202a04f9ba893myToken',
'Content-Type' => 'application/json'
]
]);image
"

Comments