Scriptrunner groovy script json.data error

Chen Qiu March 1, 2024

My Scriptrunner code is:

 

http.get(path: '/token/getToken', query: [appId: appid, nonce: nonce, scope: scope, sid: sid, _sign: sign]) { resp, json ->
 json.data
}
It works fine in the console but there's a small error that affects calling it in automation and I'm sure there's a data property in the json object but why is that error
screenshot-20240301-192900.png

0 answers

Suggest an answer

Log in or Sign up to answer