Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

Rest Message (Bearer Authentication Issue)

Akshay Jadhav1
Tera Contributor

Hello all,

I'm trying to integrate with Kandji, and it required bearer authentication. I tried this with Postman, selecting bearer as the authentication type, and it worked. As shown in the screenshot below, I tried it through the rest message, but it returned an error. Does anyone know how to configure a rest message for bearer authentication?

 

 

image (1).pngimage.png

3 REPLIES 3

SN_Learn
Mega Patron

Hi @Akshay Jadhav1 ,

 

Try the below:

 

Instead of Authorization: use Authorization (without colon)

and in value, Bearer then space {token}

 

Now, give it is a try.

AkshayJadhav1_0-1722229198555.png

 

Thank you for your response. I tried your solution, and it stopped giving the bearer token error, but now it is showing the above error even though I have the correct bearer token, which works fine in Postman as well.

Hi @Akshay Jadhav1 ,

 

Review the below, if it helps:

OAuth 2.0 with Inbound REST