Forum Discussion
Accès API INSEE Base SIREN
- 5 years ago
Bonjour,
Pour ceux que ça intéressera un jour peut-être, la solution que j'ai trouvée est dans l'en-tête de mettre le champs AUTHORIZATION : BEARER TOKEN XXXXXXX (XXXX étant le token généré).
De ce fait, l'API fonctionne parfaitement.
Bonne journée et merci à tous ceux qui m'ont donné des conseils.
Alexis
A question, I'm also connecting to INSEE I've already managed to enter the API but the bearer token expires after a week... Have you figured out a way to regenerate the Access Token automatically in case it has expired? (directly from PowerBI, without having to enter it manually)
Good morning,
When I created my application on the INSEE website, I managed to change the lifespan of the token to 6048000 seconds (70 days).
On the other hand, it is impossible to generate the renewal of the certificate by Pbi