Oauth2 problem to configure with Autorization code or Access Token

Good evening all,

I’m stuck again! I need to create a node to access my Netatmo system ex: weather station.
Netatmo has 2 ways to grant access to the API:

  • Oauth2 Authorization code
  • Using a bearer token
  • (third solution I was using before is not available anymore with Oauth client credentials)

I have tried using OAuth2 API API credential as follow and I get “Unauthorized” after I get the prompt to connect the application.

What did I do wrong?

In case: the link to the developer guideline of Netatmo

Thanks a lot in advance for your help!

Philippe

  • n8n version: 1.17.1
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system:

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Philippe,

I have just set up an account with Netatmo to take a quick look at this and I managed to get it working by setting the Authentication type to Body, Can you give this a go and let me know if it works for you.

Hi @Jon,
Thanks for your answer, Super happy you managed to get it working! I have been spending at least 2 hours… But I don’t undersatand enough authentication to manage to do it by myself here… Sorry!

Yes, it works now!!!

Many thanks, it’s great!

Philippe

1 Like

Hey @Philippe,

It is good to hear that you have it working :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.