Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2503 Näkymät

I make an request to this endpoint: GET  https://dstny1.odoo.com/web/session/authenticate

Inside the body I post this: 

{    
"params": {        
"db": "dstny1",       
"login": "jelle@dstny.nl",       
"password":"myAPIkey"    
}
}

However when I use this API key as my password, it gives me an  odoo.exceptions.AccessDenied

When I use my actual password, it works fine.

What do I do to be able to use the API key?

Our customers don't want to give out their actual password, so we will need their API keys to authenticate.

Im sure it worked in the past tho...

Help pleasse. 

Avatar
Hylkää

Jelly, Can you share the basic code so I can help you?

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
huhtik. 25
1039
4
elok. 24
38645
1
toukok. 24
1428
5
jouluk. 20
10317
0
heinäk. 21
3184