POST API get value from variable


I get the error run API in katalon with variable input

" Katalon TestOps: Unexpected response, URL:, Status: 401, Response: {“error”:“invalid_token”,“error_description”:“Access token expired”}

Access token expired

14:21:54.740 [ModalContext] INFO com.kms.katalon.core.webservice.common.HarLogger - HAR: C:\Users\1878\AppData\Local\Temp\har6322125887814670905\requests\ModalContext\14.har "

Steps 1:
Run API 1, from API 1 get sessionid

Steps 2 :
Put SessionID in API 2

Please anyone know how to put value in parameter from API 1 to API 2 ?

Thankss yuuu

1 Like


I found this tutorial: quite long ago so maybe the UI is outdated but please try this logic.