<?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>Thema "Re: Problem with refresh token request" in Getting started programming with the Viessmann API</title>
    <link>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-with-refresh-token-request/m-p/192276#M101</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/42099"&gt;@martmey238&lt;/a&gt; ,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The call you are trying should be correct. Please make sure that your client_id and your refresh_token are valid. Maybe it helps to create a new refresh token. If the refresh token is invalid, you get exactly the error you are describing.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://developer.viessmann.com/en/doc/authentication" target="_blank"&gt;https://developer.viessmann.com/en/doc/authentication&lt;/A&gt; (Section: Refreshing an access token)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Let me know if this helps.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Michael&lt;/P&gt;</description>
    <pubDate>Mon, 25 Oct 2021 07:11:47 GMT</pubDate>
    <dc:creator>CustomerCareMichael</dc:creator>
    <dc:date>2021-10-25T07:11:47Z</dc:date>
    <item>
      <title>Problem with refresh token request</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-with-refresh-token-request/m-p/192092#M95</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to implement the Viessmann API into my Openhab3 environment.&lt;/P&gt;&lt;P&gt;I read the documentation carefully and all steps until the "refresh token request" worked very well.&lt;/P&gt;&lt;P&gt;My challenge now is that the refresh token call does not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the call I'm trying:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;curl -X POST "&lt;A href="https://iam.viessmann.com/idp/v2/token" target="_blank"&gt;https://iam.viessmann.com/idp/v2/token&lt;/A&gt;" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=refresh_token&amp;amp;client_id=07...&amp;amp;refresh_token=XX_x..."&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I always get {"error":"invalid-token-request"} as response, but I can't find the mistake as the call is exactly as described.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a Lot.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Oct 2021 14:35:02 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-with-refresh-token-request/m-p/192092#M95</guid>
      <dc:creator>martmey238</dc:creator>
      <dc:date>2021-10-23T14:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with refresh token request</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-with-refresh-token-request/m-p/192276#M101</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/42099"&gt;@martmey238&lt;/a&gt; ,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The call you are trying should be correct. Please make sure that your client_id and your refresh_token are valid. Maybe it helps to create a new refresh token. If the refresh token is invalid, you get exactly the error you are describing.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://developer.viessmann.com/en/doc/authentication" target="_blank"&gt;https://developer.viessmann.com/en/doc/authentication&lt;/A&gt; (Section: Refreshing an access token)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Let me know if this helps.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 07:11:47 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-with-refresh-token-request/m-p/192276#M101</guid>
      <dc:creator>CustomerCareMichael</dc:creator>
      <dc:date>2021-10-25T07:11:47Z</dc:date>
    </item>
    <item>
      <title>Betreff: Problem with refresh token request</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-with-refresh-token-request/m-p/192321#M104</link>
      <description>&lt;P&gt;Hello Michael,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've clicked the wrong button. The topic is unfortunately not resolved.&lt;/P&gt;&lt;P&gt;I've retried the whole procedure and ended again with the same "invalid-token-request" message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what I can do, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a Lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 09:29:35 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-with-refresh-token-request/m-p/192321#M104</guid>
      <dc:creator>martmey238</dc:creator>
      <dc:date>2021-10-25T09:29:35Z</dc:date>
    </item>
  </channel>
</rss>

