ForumCategory: QuestionsDownloading Consumer Messaging History API msgHist using Alteryx
Oselle asked 49 years ago

Hi All,
 
I am trying to use Alteryx to download msgHist from liveperson in vain, I keep getting internalerrorcode 5 even though I seem able to establish a connection. I have tried this methods;
http://api.liveperson.net/api/account/{accountId}/service/{serviceName}/baseURI.json?version=1.0
https://lo.da.liveperson.net/data_access_le/account/{accountId}/le/agentActivity?startTime=”1536015600000″&endTime=”1536102000000″
When i tried both, they returned the following error;
 
<?xml version=”1.0″ encoding=”UTF-8″ standalone=”yes”?><error><time>2018-09-10T03:58:42.564-04:00</time><message>bad request</message><internalCode>5</internalCode></error>
Your help will be very much appreciated

1 Answers
Mark Manguno Staff answered 2 weeks ago

Hi @Oselle 
The first method should work perfectly as long as you are replacing {accountId} with your account number and {serviceName} with msgHist. For example: http://api.liveperson.net/api/account/69930624/service/msgHist/baseURI.json?version=1.0
The second request you show looks like a Data Access API request, not a Messaging History API request.
I suggest that you chat with our support team if you need more guidance creating API requests.