<?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: Issue with reading emails from OAuth2 Outlook server in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-reading-emails-from-OAuth2-Outlook-server/m-p/2287601#M61171</link>
    <description>&lt;P&gt;Try setting the "Accept" header explicitly in your request. POSTman may be defaulting you to [Accept=text/html, image/gif, image/jpeg, *; q=.2,&amp;nbsp;&lt;I&gt;/&lt;/I&gt;; q=.2]&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2022 15:21:36 GMT</pubDate>
    <dc:creator>gjeremy1617088143</dc:creator>
    <dc:date>2022-03-28T15:21:36Z</dc:date>
    <item>
      <title>Issue with reading emails from OAuth2 Outlook server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-reading-emails-from-OAuth2-Outlook-server/m-p/2287599#M61169</link>
      <description>&lt;P&gt;I have currently followed the authorization flow outlined by Microsoft to attain an access token with permissions for both reading email via REST and IMAP. I have created Talend jobs with both approaches, but I have different problems in each.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the IMAP job I use a TPOP component to connect. However the connection is not successful. I use my corporate email as my username, and the access token as the password. This does not seem to work. Is there something I'm missing here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also in the job I created, which uses REST, I am simply sending a GET Request to Microsoft's Mail.Read endpoint. I put the token in the header under '"AUTHORIZATION." This works when I use PostMan to send the request, but when I use the TRest component, I get the following error: "{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;"error": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"code": "InternalServerError",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"message": "The MIME type 'text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2' requires a '/' character between type and subtype, such as 'text/plain'.",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"innerError": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"date": "2020-08-18T20:44:00",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"request-id": "07d1a007-30a3-424f-b9e3-9f97013db99a"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}|500"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 17:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-reading-emails-from-OAuth2-Outlook-server/m-p/2287599#M61169</guid>
      <dc:creator>GTowne</dc:creator>
      <dc:date>2020-08-24T17:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with reading emails from OAuth2 Outlook server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-reading-emails-from-OAuth2-Outlook-server/m-p/2287600#M61170</link>
      <description>&lt;P&gt;I have the same problem. Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 07:57:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-reading-emails-from-OAuth2-Outlook-server/m-p/2287600#M61170</guid>
      <dc:creator>jrius</dc:creator>
      <dc:date>2020-12-30T07:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with reading emails from OAuth2 Outlook server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-reading-emails-from-OAuth2-Outlook-server/m-p/2287601#M61171</link>
      <description>&lt;P&gt;Try setting the "Accept" header explicitly in your request. POSTman may be defaulting you to [Accept=text/html, image/gif, image/jpeg, *; q=.2,&amp;nbsp;&lt;I&gt;/&lt;/I&gt;; q=.2]&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 15:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-reading-emails-from-OAuth2-Outlook-server/m-p/2287601#M61171</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-03-28T15:21:36Z</dc:date>
    </item>
  </channel>
</rss>

