401 error message after passing JWT token on API testing

I have issue on API katalon version : 5.8.2

when i pass JWT token then i got 401 Error message.

here is code :

====================================================================

def slurper = new JsonSlurper()

// Login data

getLoginResult = WS.sendRequest(findTestObject(‘Scribe/Login/login’, [(‘Username’) : GlobalVariable.userNameScribe, (‘Password’) : GlobalVariable.passwordScribe]))

WS.verifyResponseStatusCode(getLoginResult, 200)

def loginResult = slurper.parseText(getLoginResult.getResponseBodyContent())

// getting JWT token

def getAccessToken = loginResult.jwtToken

println(getAccessToken)

// here I used GET method

getDashboardResult = WS.sendRequest(findTestObject(‘Scribe/Dashboard/dashboard’, [(‘AccessToken’) : getAccessToken]))

WS.verifyResponseStatusCode(getDashboardResult, 200)

getting 401 error on console.

On object Repository I pass “Basic ${AccessToken}” on HTTP header

===================================================================

I got the solution

I pass jwtToken in “Authorization” section and select type as “Basic” and Username as "jwtToken "

here is screenshot

Untitled.png