Looker /login API throwing http 403

Hello everyone

I am trying to get an access token programatically using this doc. https://docs.looker.com/reference/api-and-integration/api-reference/v3.1/api-auth. But I am getting 403.

I followed the doc and created a user and got client_id and secret. But i am keep getting 403.

Any help will be great. Thank you

Hi @jumpinglion ,

Do those credentials work for you in the interactive API docs? We can see the API docs by going to admin → api → View API Docs.

Also, what method are you using (curl, postman, etc)?

A common issue is people do not use a post request for that endpoint or they use the wrong port.

Thanks,

Eric

1 Like

Thank you. The issue was the port. Cheers

1 Like