<?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: Analytics API 2.0: Failure while try to use access token generated with jwt token in Adobe Analytics Discussions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/analytics-api-2-0-failure-while-try-to-use-access-token/m-p/241063#M692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Meanwhile I got some information from Adobe that the JWT support will be available beginning next year. But there is no fix date for that. &lt;/P&gt;&lt;P&gt;I saw in the Readme from analytics-2.0-apis: "&lt;EM style="color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px;"&gt;Note: JWT Authentication is coming soon.&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/AdobeDocs/analytics-2.0-apis" title="https://github.com/AdobeDocs/analytics-2.0-apis"&gt;GitHub - AdobeDocs/analytics-2.0-apis: Documentation for the Adobe Analytics 2.0 APIs&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2018 07:09:10 GMT</pubDate>
    <dc:creator>tobiasl80164868</dc:creator>
    <dc:date>2018-11-28T07:09:10Z</dc:date>
    <item>
      <title>Analytics API 2.0: Failure while try to use access token generated with jwt token</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/analytics-api-2-0-failure-while-try-to-use-access-token/m-p/241061#M690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we want to call the Analytics API 2.0 from our Java application. Therefor we generate an JWT token and with that JWT token an access token in Java. We used this tutorial:&amp;nbsp; &lt;A href="https://www.adobe.io/authentication/auth-methods.html#!adobeio/adobeio-documentation/master/auth/JWTAuthenticationQuickStart.md" title="https://www.adobe.io/authentication/auth-methods.html#!adobeio/adobeio-documentation/master/auth/JWTAuthenticationQuickStart.md"&gt;https://www.adobe.io/authentication/auth-methods.html#!adobeio/adobeio-documentation/master/auth/JWTAuthenticationQuickStart.md&lt;/A&gt;&amp;nbsp; &lt;A href="https://www.adobe.io/authentication/auth-methods.html#!adobeio/adobeio-documentation/master/auth/JWTAuthenticationQuickStart.md" title="https://www.adobe.io/authentication/auth-methods.html#!adobeio/adobeio-documentation/master/auth/JWTAuthenticationQuickStart.md"&gt;https://www.adobe.io/authentication/auth-methods.html#!adobeio/adobeio-documentation/master/auth/JWTAuthenticationQuickStart.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now we try to get a report from Analytics API with this access token but we always get the following error:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;{"errorCode":"invalid_token","errorDescription":"User associated with ims token could not be found or company not found.","errorId":"auth-xxxx-xxxx"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;In case we use an access token generated with OAuth (and user credentials), the request to the /reports endpoint works well. We couldn't find a way to generate an OAuth access token programmatically without manually login at Adobe. So we used the JWT Token in Java.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;We use the Analytics API 2.0: &lt;A href="https://adobedocs.github.io/analytics-2.0-apis/" title="https://adobedocs.github.io/analytics-2.0-apis/"&gt;https://adobedocs.github.io/analytics-2.0-apis/&lt;/A&gt; and want to use the /reports endpoint.&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;Is there a way to automatically generate an access token to authenticate with api 2.0 and do a reports request?&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;Thanks a lot&lt;/P&gt;&lt;P class="p1"&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2018 15:29:42 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/analytics-api-2-0-failure-while-try-to-use-access-token/m-p/241061#M690</guid>
      <dc:creator>tobiasl80164868</dc:creator>
      <dc:date>2018-11-14T15:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics API 2.0: Failure while try to use access token generated with jwt token</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/analytics-api-2-0-failure-while-try-to-use-access-token/m-p/241062#M691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking for the same, kindly respond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was going through Adobe IO documentation for Analytics API 2.0 and found that there are 2 ways of creating access token i.e. JWT or OAuth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;- Using Postman, I am able to get access token using OAuth method, but how can I do it programmatically, kindly share.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;- Also when using JWT, Access token is created, but it is giving me following error on Reports, when hitting through Postman &lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica',sans-serif; color: #505050; background: white;"&gt;&lt;A href="https://analytics.adobe.io/api/mindtr4/reports"&gt;https://analytics.adobe.io/api/xxxxxxx/reports&lt;/A&gt; &lt;/SPAN&gt;[The code for this programmatically is available]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;Response is :-&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica',sans-serif; color: #505050; background: white;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica',sans-serif; color: #505050; background: white;"&gt; "errorCode": "invalid_token",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica',sans-serif; color: #505050; background: white;"&gt; "errorDescription": "User associated with ims token could not be found or company not found.",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica',sans-serif; color: #505050; background: white;"&gt; "errorId": "auth-xxxxxx-xxxx-xxxx-xxxx-xxxxxx"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica',sans-serif; color: #505050; background: white;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica',sans-serif; color: #505050; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2018 11:34:45 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/analytics-api-2-0-failure-while-try-to-use-access-token/m-p/241062#M691</guid>
      <dc:creator>amanagarwal21</dc:creator>
      <dc:date>2018-11-27T11:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics API 2.0: Failure while try to use access token generated with jwt token</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/analytics-api-2-0-failure-while-try-to-use-access-token/m-p/241063#M692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Meanwhile I got some information from Adobe that the JWT support will be available beginning next year. But there is no fix date for that. &lt;/P&gt;&lt;P&gt;I saw in the Readme from analytics-2.0-apis: "&lt;EM style="color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px;"&gt;Note: JWT Authentication is coming soon.&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/AdobeDocs/analytics-2.0-apis" title="https://github.com/AdobeDocs/analytics-2.0-apis"&gt;GitHub - AdobeDocs/analytics-2.0-apis: Documentation for the Adobe Analytics 2.0 APIs&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 07:09:10 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/analytics-api-2-0-failure-while-try-to-use-access-token/m-p/241063#M692</guid>
      <dc:creator>tobiasl80164868</dc:creator>
      <dc:date>2018-11-28T07:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics API 2.0: Failure while try to use access token generated with jwt token</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/analytics-api-2-0-failure-while-try-to-use-access-token/m-p/241064#M693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, yes I saw the same, but I am looking the programatic way to generate token, OAuth 2.0 method would also work for the time being.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 07:15:46 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/analytics-api-2-0-failure-while-try-to-use-access-token/m-p/241064#M693</guid>
      <dc:creator>amanagarwal21</dc:creator>
      <dc:date>2018-11-28T07:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics API 2.0: Failure while try to use access token generated with jwt token</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/analytics-api-2-0-failure-while-try-to-use-access-token/m-p/241065#M694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any additional information in relation to this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use the JWT Authentication and still doesn't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2019 09:23:10 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/analytics-api-2-0-failure-while-try-to-use-access-token/m-p/241065#M694</guid>
      <dc:creator>manelg80371934</dc:creator>
      <dc:date>2019-01-04T09:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics API 2.0: Failure while try to use access token generated with jwt token</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/analytics-api-2-0-failure-while-try-to-use-access-token/m-p/407644#M2771</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to programmatically generate an access token using any method? Kindly help its urgent&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 08:47:24 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/analytics-api-2-0-failure-while-try-to-use-access-token/m-p/407644#M2771</guid>
      <dc:creator>SaumyaSrivastava</dc:creator>
      <dc:date>2021-05-11T08:47:24Z</dc:date>
    </item>
  </channel>
</rss>

