Hi,
I’m trying to get an OAuth2 token from INSEE API in n8n (HTTP Request node).
Config:
- POST https://api.insee.fr/token
- Header: Authorization Basic (base64 client_id:client_secret)
- Body: grant_type=client_credentials
I always get:
404 - “url deprecated, visit https://portail-api.insee.fr/”
I already subscribed to the API (status accepted).
What is the correct token URL now?
Using n8n HTTP Request node (not OAuth2 credential node)
Thanks!
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: