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