<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[http request to netatmo fails with error (solved!)]]></title><description><![CDATA[<p dir="auto">Hi, can anyone help me with connection to the Netatmo API?<br />
<a href="https://dev.netatmo.com/resources/technical/samplessdks/codesamples" target="_blank" rel="noopener noreferrer nofollow ugc">https://dev.netatmo.com/resources/technical/samplessdks/codesamples</a></p>
<p dir="auto">I tried it with the new http request block but I get the error "invalid_request, Invalid grant_type parameter or parameter missing"</p>
<p dir="auto">What could be the problem?</p>
<p dir="auto"><img src="/assets/uploads/files/1571070490182-bildschirmfoto-2019-10-14-um-18.24.29-resized.png" alt="alt text" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/topic/1391/http-request-to-netatmo-fails-with-error-solved</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 01:00:27 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1391.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Oct 2019 16:30:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to http request to netatmo fails with error (solved!) on Mon, 24 May 2021 13:08:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
is it possible to share you code ? interest by this code.<br />
for me the UIFlow not work  with my M5 stack so I use only arduino ide interface.<br />
Thx</p>
]]></description><link>https://community.m5stack.com/post/13865</link><guid isPermaLink="true">https://community.m5stack.com/post/13865</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Mon, 24 May 2021 13:08:02 GMT</pubDate></item><item><title><![CDATA[Reply to http request to netatmo fails with error (solved!) on Tue, 13 Apr 2021 14:16:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dblooom" aria-label="Profile: dblooom">@<bdi>dblooom</bdi></a>  Hi. Sorry for resurrecting this topic, but I can't figure it out at all and haven't found any other resources regarding "Netatmo" and M5Stack on the web. I've tried to fix this issue by replacing "json={'grant_type':'password', ...}" with "data={'grant_type':'password', ...}" and also "data=[('grant_type','password'), ... ]  and still had lo luck with it.<br />
I have no problem getting a correct response when working with Postman or directly with Python, but I'm not able to figure out what's wrong in UiFlow.<br />
Would you perhaps have time to elaborate on how you have managed to fix it in "python portion" of the UiFlow if you still remember?<br />
Sorry again for the inconvenience.<br />
Best regards.</p>
]]></description><link>https://community.m5stack.com/post/13516</link><guid isPermaLink="true">https://community.m5stack.com/post/13516</guid><dc:creator><![CDATA[PacQ]]></dc:creator><pubDate>Tue, 13 Apr 2021 14:16:11 GMT</pubDate></item><item><title><![CDATA[Reply to http request to netatmo fails with error (solved!) on Tue, 15 Oct 2019 15:58:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dblooom" aria-label="Profile: dblooom">@<bdi>dblooom</bdi></a> said in <a href="/post/5981">http request to netatmo fails with error (solved!)</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> hm thx. But I'm not familiar with github. Maybe you can submit it for me?<br />
Done.</p>
</blockquote>
]]></description><link>https://community.m5stack.com/post/5985</link><guid isPermaLink="true">https://community.m5stack.com/post/5985</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 15 Oct 2019 15:58:25 GMT</pubDate></item><item><title><![CDATA[Reply to http request to netatmo fails with error (solved!) on Tue, 15 Oct 2019 12:24:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> hm thx. But I'm not familiar with github. Maybe you can submit it for me?</p>
]]></description><link>https://community.m5stack.com/post/5981</link><guid isPermaLink="true">https://community.m5stack.com/post/5981</guid><dc:creator><![CDATA[dblooom]]></dc:creator><pubDate>Tue, 15 Oct 2019 12:24:03 GMT</pubDate></item><item><title><![CDATA[Reply to http request to netatmo fails with error (solved!) on Tue, 15 Oct 2019 10:19:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dblooom" aria-label="Profile: dblooom">@<bdi>dblooom</bdi></a> please post this as a bug report on the UIFlow github page as this is important enough for immediate attention</p>
]]></description><link>https://community.m5stack.com/post/5977</link><guid isPermaLink="true">https://community.m5stack.com/post/5977</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 15 Oct 2019 10:19:19 GMT</pubDate></item><item><title><![CDATA[Reply to http request to netatmo fails with error (solved!) on Tue, 15 Oct 2019 09:39:05 GMT]]></title><description><![CDATA[<p dir="auto">Ok, could figure it out. The http-req sends data as JSON but Netatmo needs it as "data". So I could change it in Phyton code but can't do it in blocky.</p>
<p dir="auto">@devs: So it would be nice to have two different slots in the http-reqthing: one for json-data and one for data. Or an option to switch it.</p>
]]></description><link>https://community.m5stack.com/post/5976</link><guid isPermaLink="true">https://community.m5stack.com/post/5976</guid><dc:creator><![CDATA[dblooom]]></dc:creator><pubDate>Tue, 15 Oct 2019 09:39:05 GMT</pubDate></item><item><title><![CDATA[Reply to http request to netatmo fails with error (solved!) on Tue, 15 Oct 2019 08:47:39 GMT]]></title><description><![CDATA[<p dir="auto">oh, that was wrong, thx. But still get the same error...</p>
]]></description><link>https://community.m5stack.com/post/5975</link><guid isPermaLink="true">https://community.m5stack.com/post/5975</guid><dc:creator><![CDATA[dblooom]]></dc:creator><pubDate>Tue, 15 Oct 2019 08:47:39 GMT</pubDate></item><item><title><![CDATA[Reply to http request to netatmo fails with error (solved!) on Tue, 15 Oct 2019 01:37:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dblooom" aria-label="Profile: dblooom">@<bdi>dblooom</bdi></a> The header option should be like it.<br />
<img src="/assets/uploads/files/1571103341073-88972a6c-1ea7-4b6c-aaa4-b850a504b119-image-resized.png" alt="0_1571103340077_88972a6c-1ea7-4b6c-aaa4-b850a504b119-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/5971</link><guid isPermaLink="true">https://community.m5stack.com/post/5971</guid><dc:creator><![CDATA[ozbk]]></dc:creator><pubDate>Tue, 15 Oct 2019 01:37:16 GMT</pubDate></item><item><title><![CDATA[Reply to http request to netatmo fails with error (solved!) on Mon, 14 Oct 2019 18:00:19 GMT]]></title><description><![CDATA[<p dir="auto">thx, but this seems not to be the solution (I tested it anyway). Grant-Type "password" is correct afik.</p>
]]></description><link>https://community.m5stack.com/post/5966</link><guid isPermaLink="true">https://community.m5stack.com/post/5966</guid><dc:creator><![CDATA[dblooom]]></dc:creator><pubDate>Mon, 14 Oct 2019 18:00:19 GMT</pubDate></item><item><title><![CDATA[Reply to http request to netatmo fails with error (solved!) on Mon, 14 Oct 2019 17:01:31 GMT]]></title><description><![CDATA[<p dir="auto">May sound stupid but have you tried</p>
<pre><code>payload = {'grant_type': 'authorization_code', 
</code></pre>
<p dir="auto">Perhaps your code should be key "grant_type" value authorization_code</p>
]]></description><link>https://community.m5stack.com/post/5965</link><guid isPermaLink="true">https://community.m5stack.com/post/5965</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Mon, 14 Oct 2019 17:01:31 GMT</pubDate></item></channel></rss>