<?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: Betreff: OneTimeCharge leads to status 502 - what is behind that and how to fix it?" in The Viessmann API</title>
    <link>https://community.viessmann.de/t5/The-Viessmann-API/OneTimeCharge-leads-to-status-502-what-is-behind-that-and-how-to/m-p/183065#M107</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/39554"&gt;@jborup&lt;/a&gt; ,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;is the error 502 still existent? How often do you experience the error?&amp;nbsp;In general, the internal server error&amp;nbsp;is not related to your call or the function you are using.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Aug 2021 10:20:43 GMT</pubDate>
    <dc:creator>CustomerCareMichael</dc:creator>
    <dc:date>2021-08-12T10:20:43Z</dc:date>
    <item>
      <title>OneTimeCharge leads to status 502 - what is behind that and how to fix it?</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/OneTimeCharge-leads-to-status-502-what-is-behind-that-and-how-to/m-p/182715#M87</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying to do a oneTimeCharge() via a post but I get a 502 in return what do I do about that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the POST request:&lt;/P&gt;&lt;P&gt;curl --location --request POST '&lt;A href="https://api.viessmann-platform.io/iot/v1/equipment/installations/1127/gateways/7555115512740109/devices/0/features/heating.dhw.oneTimeCharge/commands/activate" target="_blank"&gt;https://api.viessmann-platform.io/iot/v1/equipment/installations/1127/gateways/7555115512740109/devices/0/features/heating.dhw.oneTimeCharge/commands/activate&lt;/A&gt;' \&lt;BR /&gt;--header 'Authorization: Bearer XXXXXXXXXX' \&lt;BR /&gt;--header 'Content-Type: application/json' \&lt;BR /&gt;--data-raw '{}'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And this is the response:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"viErrorId":"req-ca1f1d7c23bf4c5f95b0adb866beb636","statusCode":502,"errorType":"DEVICE_COMMUNICATION_ERROR","message":"DEVICE_COMMUNICATION_ERROR","extendedPayload":{"reason":"INTERNAL_SERVER_ERROR"}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I especially like to know how to proceed on a reason:INTERNAL_SERVER_ERROR &lt;span class="lia-unicode-emoji" title=":verwirrtes_Gesicht:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help greatly appriciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PS! I actually have a feeling that the viCare app is doing the same thing though it is not reporting the error, as in both cases the oneTimeCharge of the DHW-tank is not starting...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Aug 2021 10:04:06 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/OneTimeCharge-leads-to-status-502-what-is-behind-that-and-how-to/m-p/182715#M87</guid>
      <dc:creator>jborup</dc:creator>
      <dc:date>2021-08-07T10:04:06Z</dc:date>
    </item>
    <item>
      <title>Betreff: OneTimeCharge leads to status 502 - what is behind that and how to fix it?</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/OneTimeCharge-leads-to-status-502-what-is-behind-that-and-how-to/m-p/182757#M89</link>
      <description>&lt;P&gt;Still does not work, however I now get a 200 with&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"data"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"success"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"reason"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"COMMAND_EXECUTION_SUCCESS"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have not changed a thing so I am guessing it was an "outage" on the API gateway... ?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But the question is still relevant in the sense that the INTERNAL_SERVER_ERROR is that the API gateway error? Or communication to my device? or execution at my device? Some more information would be good in case of these kind of errors going forward. Would that be possible?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 08 Aug 2021 10:45:49 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/OneTimeCharge-leads-to-status-502-what-is-behind-that-and-how-to/m-p/182757#M89</guid>
      <dc:creator>jborup</dc:creator>
      <dc:date>2021-08-08T10:45:49Z</dc:date>
    </item>
    <item>
      <title>Betreff: OneTimeCharge leads to status 502 - what is behind that and how to fix it?</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/OneTimeCharge-leads-to-status-502-what-is-behind-that-and-how-to/m-p/182860#M96</link>
      <description>&lt;P&gt;And now it is the 502 again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"viErrorId"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"req-cac6a423632c42afb1a880989e5e98bd"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"statusCode"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;502&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"errorType"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"DEVICE_COMMUNICATION_ERROR"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"DEVICE_COMMUNICATION_ERROR"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"extendedPayload"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"reason"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"INTERNAL_SERVER_ERROR"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/29136"&gt;@CustomerCareMichael&lt;/a&gt;&amp;nbsp;Is there anything you and the team could do and reveal to make this more obvious ? Secondly ofcourse more resilient, and working &lt;span class="lia-unicode-emoji" title=":leicht_lächelndes_Gesicht:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Aug 2021 13:57:41 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/OneTimeCharge-leads-to-status-502-what-is-behind-that-and-how-to/m-p/182860#M96</guid>
      <dc:creator>jborup</dc:creator>
      <dc:date>2021-08-09T13:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Betreff: OneTimeCharge leads to status 502 - what is behind that and how to fix it?</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/OneTimeCharge-leads-to-status-502-what-is-behind-that-and-how-to/m-p/183065#M107</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/39554"&gt;@jborup&lt;/a&gt; ,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;is the error 502 still existent? How often do you experience the error?&amp;nbsp;In general, the internal server error&amp;nbsp;is not related to your call or the function you are using.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 10:20:43 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/OneTimeCharge-leads-to-status-502-what-is-behind-that-and-how-to/m-p/183065#M107</guid>
      <dc:creator>CustomerCareMichael</dc:creator>
      <dc:date>2021-08-12T10:20:43Z</dc:date>
    </item>
  </channel>
</rss>

