Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

bearer token in Trestclient

hello community,

i will explaine my job for understand my worries,

Firstly i'm connected to  my api via trestclient_1, this latter sends me a bearer token and i creat a context variable to save this bearer and call it in trestclient_2, at the same time i want to send a json file(json_info).

but i get this error:  javax.ws.rs.WebApplicationException: HTTP 500 Internal Server Error

Plz find the screenshots below.

Thinks for your help.

 

Labels (3)
3 Replies
TRF
Champion II
Champion II

In the tRESTClient Advanced settings tabs, add a line for the Http header array with name "Authorization" and Value "Bearer " + context.yourBearerVariable

Anonymous
Not applicable
Author

Hi @TRF 

I already added it, it was in screenshoot above,but no results.

i republish it with screenshoot of tmap.

0683p000009M6B3.png

0683p000009M6B8.png

SpaceSonic
Contributor
Contributor

Thank you. Although it is 3 years old too late. It works for me. Again..thank you