401 Error Unauthorized Response from Java program

Hi, I have generated app key but when I am calling it from external webservice, I am getting this error Got code: 401 response: {"fault":{"faultstring":"Invalid ApiKey","detail":{"errorcode":"oauth.v2.InvalidApiKey"}}}. PS. We have not bought a paid subscription but trying to get few free checkups for Trial purpose.

Best Answer

Answers

  • dj.shihora,

    You did not specify which API you were using and more than one APIs may return status code 401. Please let us know which API you used so we can answer your question more accurately.

    Thanks,