ForumCategory: QuestionsAgent Metrics API always returning 200 OK with on data
JohnnyAtVail asked 49 years ago

Hello,
I have been trying to get the Agent Status call to return data.  I keep getting a good response with no json data back. I don’t get any kind of info that tells me what I am doing wrong.
URL I am using:  https://sales.liveperson.net/messaging_history/api/account/31842070/agent-view/status
What my Authorization header looks like:
OAuth oauth_signature=”8gmqtnGp902o79Z8Ipu6FJkOqpA%3D”,
oauth_version=”1.0″,
oauth_nonce=”MTU0MDQwMDE4NDE1NDA0MDAxODQxNTQwNDAwMTg0″,
oauth_consumer_key=”3600c6f368824891849b7808b8b3b953″,
oauth_signature_method=”HMAC-SHA1″,
oauth_token=”987865e5895c48d1a3302e9ce9e8ad99″,oauth_timestamp=”1540400184″
Note: The Authorization is contained on a single line. New lines have been inserted for clarity.
My question is how would I be able to trouble-shot this?  I have been working on this for quite some time with no luck.  I have also had some other dev’s on my team take a crack to no avail.
Thanks,
John

1 Answers
Mark Manguno Staff answered 2 weeks ago

Hi @JohnnyAtVail  You are using the wrong hostname for this API request. As indicated in the Agent Metrics API documentation you should be using the msgHist domain for your account, which is va.msghist.liveperson.net.