<?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: Unsupported authentication mechanism error in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Unsupported-authentication-mechanism-error/m-p/109761#M675</link>
    <description>&lt;P&gt;You cannot see on Dynatrace site requests that are executed via API. About using curl, maybe you have something wrong in headers, because Basic auth mentioned here is in header. In general you don't have to pur token in url you can put it in header:&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer" href="https://www.dynatrace.com/support/help/shortlink/api-authentication#authenticate" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/api-authentication#authenticate&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here you have proper example for curl.&lt;/P&gt;&lt;P&gt;Sebastian &lt;/P&gt;</description>
    <pubDate>Thu, 05 Mar 2020 10:59:55 GMT</pubDate>
    <dc:creator>skrystosik</dc:creator>
    <dc:date>2020-03-05T10:59:55Z</dc:date>
    <item>
      <title>Unsupported authentication mechanism error</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Unsupported-authentication-mechanism-error/m-p/109760#M674</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;calling the REST API I'm gettin this response:&lt;/P&gt;
&lt;P&gt;{"error":{"code":401,"message":"Unsupported authentication mechanism -&amp;gt; 'Basic', could not be used as fallback."}}&lt;/P&gt;
&lt;P&gt;The request was something like this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://wxv699.dynatrace-managed.com/e/6fa686ce-5f7e-4a27-a076-1e86dd547c9c/api/config/v1/dashboards/38880a32-d156-406e-b197-7a9c189d94e5;gtf=l_2_HOURS;gf=all?Api-Token=YOXzvF1YSyawl1gcBZlL6" target="_blank" rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;https://wxv699.dynatrace-managed.com/e/6fa686ce-5f7e-4a27-a076-1e86dd547c9c/api/config/v1/dashboards/38880a32-d156-406e-b197-7a9c189d94e5;gtf=l_2_HOURS;gf=all?Api-Token=XXXX&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Putting this request in my browser works fine but from curl in another machine I'm getting the "Unsupported authentication mechanism" message.&lt;/P&gt;
&lt;P&gt;My suspicion is that dynatrace, in the second case, is not receiving the &lt;STRONG&gt;Api-Token&lt;/STRONG&gt; parameter well for some reason, so where can I see the request that is coming to Dynatrace in order to verify id the &lt;STRONG&gt;Api-Token&lt;/STRONG&gt; parameter is coming correctly?&lt;/P&gt;
&lt;P&gt;Regards, Josep Maria&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 08:36:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Unsupported-authentication-mechanism-error/m-p/109760#M674</guid>
      <dc:creator>jcamps</dc:creator>
      <dc:date>2021-04-27T08:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unsupported authentication mechanism error</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Unsupported-authentication-mechanism-error/m-p/109761#M675</link>
      <description>&lt;P&gt;You cannot see on Dynatrace site requests that are executed via API. About using curl, maybe you have something wrong in headers, because Basic auth mentioned here is in header. In general you don't have to pur token in url you can put it in header:&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer" href="https://www.dynatrace.com/support/help/shortlink/api-authentication#authenticate" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/api-authentication#authenticate&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here you have proper example for curl.&lt;/P&gt;&lt;P&gt;Sebastian &lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 10:59:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Unsupported-authentication-mechanism-error/m-p/109761#M675</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2020-03-05T10:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unsupported authentication mechanism error</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Unsupported-authentication-mechanism-error/m-p/109762#M676</link>
      <description>&lt;P&gt;Hi Sebastian, &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;thanks for your response, the problem in this case was in CURL with the dashboard timeframe especified between the URI and the Api-Token parameter:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/23971-1.jpg" /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The URL was &lt;A rel="nofollow" href="https://wxv699.dynatrace-managed.com/e/6fa686ce-5f7e-4a27-a076-1e86dd547c9c/api/config/v1/dashboards/38880a32-d156-406e-b197-7a9c189d94e5;gtf=l_2_HOURS;gf=all?api-token=YOXzvF1YSyawl1gcBZlL6"&gt;https://wxv699.dynatrace-managed.com/e/6fa686ce-5f7e-4a27-a076-1e86dd547c9c/api/config/v1/dashboards/38880a32-d156-406e-b197-7a9c189d94e5&lt;STRONG&gt;;gtf=l_2_HOURS;gf=all&lt;/STRONG&gt;?api-token=XXXXX&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CURL doesn't understand the &lt;STRONG&gt;;gtf=l_2_HOURS;gf=all &lt;/STRONG&gt;part and doesn't send de Api-Token to the server.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; So, how can specify the timeframe in order to work well with CURL?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Regards, Josep Maria&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 11:46:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Unsupported-authentication-mechanism-error/m-p/109762#M676</guid>
      <dc:creator>jcamps</dc:creator>
      <dc:date>2020-03-05T11:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unsupported authentication mechanism error</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Unsupported-authentication-mechanism-error/m-p/109763#M677</link>
      <description>As I said, put your token into header and you will not have problems with params in url.</description>
      <pubDate>Thu, 05 Mar 2020 11:47:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Unsupported-authentication-mechanism-error/m-p/109763#M677</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2020-03-05T11:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unsupported authentication mechanism error</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Unsupported-authentication-mechanism-error/m-p/109764#M678</link>
      <description>&lt;P&gt;Thanks Sebastian!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 15:26:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Unsupported-authentication-mechanism-error/m-p/109764#M678</guid>
      <dc:creator>jcamps</dc:creator>
      <dc:date>2020-03-05T15:26:52Z</dc:date>
    </item>
  </channel>
</rss>

