Dremio API Authorization Token - 401 Unauthorized Error

I am trying to work through the API in Dremio using Postman. But I keep getting this 401 error as I attempt to get the token.

We are on the community version.

Also I did review this post. Rest APIs for Queries and Data Sets

I am sending a content header

Hi. It looks like you’re using incorrect request type. API docs say that need to use POST.

Good catch… won’t tell you how long I stared at it.

Can some one share a sample SQL query example ? i get 401 after i pass the token in header to /api/v3/sql endpoint
the query runs file in dremio UI


Have you gone through the documentation? we have some examples


Yes thank you, I was able to figure out the mistake in my catalog Id URI encoding