<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Trouble accessing controller API in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Trouble-accessing-controller-API/m-p/724902#M4439</link>
    <description>&lt;P&gt;Thanks, that was my issue I was providing the wrong password!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2017 10:36:24 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2017-11-16T10:36:24Z</dc:date>
    <item>
      <title>Trouble accessing controller API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Trouble-accessing-controller-API/m-p/724900#M4437</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;

&lt;P&gt;Apologises if I've missed something&amp;nbsp;obvious but I've been having some difficulties accessing my hosted controller's API. I want to collect metric data programmatically and have been using Chrome's Postman extension to try and query my controller's API. I've been trying to access it using the following:&lt;/P&gt;

&lt;P&gt;URL:&amp;nbsp;&lt;SPAN&gt;https://&amp;lt;MyControllersName&amp;gt;.saas.appdynamics.com/controller/rest/applications&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Headers:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;user: &amp;lt;username&amp;gt;@&amp;lt;accountname&amp;gt;:&amp;lt;accountpassword&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;However I keep getting a 401 Unauthorized response back from this. I have also tried the following as suggested here:&amp;nbsp;&lt;A href="https://docs.appdynamics.com/display/PRO41/Use+the+AppDynamics+REST+API&amp;nbsp;" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO41/Use+the+AppDynamics+REST+API&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;URL:&amp;nbsp;https://&amp;lt;MyControllersName&amp;gt;.saas.appdynamics.com/controller/rest/applications&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Headers:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Account: &amp;lt;MyAccountName&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Username: &amp;lt;Username&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Password: &amp;lt;AccountPassword&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;To add a bit more context I am using the pro free trial. I have tried both my AppDynamics login name and my controller username for authentication which has both failed. The password I am using is my AppDynamics account password. I have found that controllers also have passwords however when following the instructions here:&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/Knowledge-Base/How-to-reset-the-controller-password/ta-p/24115&amp;nbsp;I" target="_blank"&gt;https://community.appdynamics.com/t5/Knowledge-Base/How-to-reset-the-controller-password/ta-p/24115&amp;nbsp;I&lt;/A&gt; am unable to get to the admin console as appending /admin.jsp to my controller's URL just timesout. As a result I've been using my AppDynamics log in account password instead.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Any help would be greatly appreciated&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 14:38:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Trouble-accessing-controller-API/m-p/724900#M4437</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-11-15T14:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble accessing controller API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Trouble-accessing-controller-API/m-p/724901#M4438</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;You need to provide the controller password which you use to login into the controller UI. Make sure you pass the correct credentials as&amp;nbsp;&lt;SPAN&gt;controller's username and password&amp;nbsp;&lt;/SPAN&gt;and having enough access to use the api.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Also, as per your controller url, we assume that it is a saas controller. Saas controller's admin.jsp page access is not available for customers whose controller is saas hosted. This is for on-prem customers. Let us know if you are using saas or on-prem.&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Please refer below for more information&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.appdynamics.com/display/PRO43/Using+the+Controller+APIs#UsingtheControllerAPIs-Authentication" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO43/Using+the+Controller+APIs#UsingtheControllerAPIs-Authentication&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Provide the relevant screenshots in case you still face an issue.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Yogesh&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 16:34:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Trouble-accessing-controller-API/m-p/724901#M4438</guid>
      <dc:creator>Yogesh_Chouk</dc:creator>
      <dc:date>2017-11-15T16:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble accessing controller API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Trouble-accessing-controller-API/m-p/724902#M4439</link>
      <description>&lt;P&gt;Thanks, that was my issue I was providing the wrong password!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 10:36:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Trouble-accessing-controller-API/m-p/724902#M4439</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-11-16T10:36:24Z</dc:date>
    </item>
  </channel>
</rss>

