odoo-addons icon indicating copy to clipboard operation
odoo-addons copied to clipboard

Problems with https

Open loaizamateo opened this issue 4 years ago • 4 comments

Hello, I try to make a request to the api according to your documentation, and when I send a request I get the following message:

401 - { "type": "access_token_not_found", "message": "missing access token in request header" }

I send acces_token in the headers. You can help?

I use nginx

loaizamateo avatar Oct 30 '20 19:10 loaizamateo

Try changing the acces_token to **acces-token **, are you making use of a reverse proxy

ajepe avatar Oct 30 '20 21:10 ajepe

Hi, yes. NGINX. I try with acces-token and not working.

loaizamateo avatar Nov 10 '20 15:11 loaizamateo

There is nginx configuration that allow you to have custom headers, try changing it to Acces-Token

Matt-OBell avatar Nov 11 '20 04:11 Matt-OBell

There is nginx configuration that allow you to have custom headers, try changing it to Acces-Token

@Matt-OBell Thanks! Only changing to Access-Token worked on my server.

Neither access_token or access-token worked for me.

aqeebimtiaz avatar Feb 09 '22 10:02 aqeebimtiaz