• 0

api authentication status 403?


Hi, I used powershell to try and authenticate to our logicmonitor external portal. It returned the following:

StatusCode : 200

StatusDescription : OK

Content : {\'\'status\'\':403,\'\'errmsg\'\':\'\'Authentication failed. Check the url, username, and password.\'\'}

RawContent : HTTP/1.1 200 OK

Content-Length: 89

Content-Type: text/json;charset=UTF-8

Date: Fri, 30 Jan 2015 17:54:08 GMT

Set-Cookie: JSESSIONID=3FA7E345679317FD1D1FBED8FA6726F2; Path=/santaba; Secure


Forms : {}

Headers : {[Content-Length, 89], [Content-Type, text/json;charset=UTF-8], [Date, Fri, 30 Jan 2015 17:54:08

GMT], [set-Cookie, JSESSIONID=3FA7E345679317FD1D1FBED8FA6726F2; Path=/santaba; Secure]...}

Images : {}

InputFields : {}

Links : {}

ParsedHtml : System.__ComObject

RawContentLength : 89

When I use the exact login name and pass going to the portal directly it logs me in just fine. Any ideas? I used the following code:

Invoke-WebRequest -Uri \'\'https://mycompany.logicmonitor.com/santaba/rpc/getEscalatingChains?c=mycompany&u=user&p=pass\'\'


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
  • LogicMonitor Staff

Hi Chris,rn rnFrom what I can tell, it looks like you are formulating your API call correctly. My primary suspicion is that the credentials that you are supplying are for a user that does not have the sufficient Manage Settings permissions to execute this API call. Please ensure that your API user has this permission enabled.rn

Regards,rn rnJoseph Skup.rnLogicMonitor Support

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.