Unable to get the parameter value for active UI Instruction

Environment Details : RWS2 ABB-Robot Web Services

Robot Studio: 2025.5

Controller: Virtual Controller (Robotware v 7.20)

I could get the active UI instruction details from FlexPendant using RWS endpoints as mentioned in their documentations.

Request and Response for getting active UI instruction

Request:

GET: https://localhost:5466/rw/rapid/uiinstr/active/

Response:

<?xml version="1.0" encoding="UTF-8"?>
294912
  • IMessageBoxSENDRAPID/T_ROB1/%$2502NORMAL
Request and Response for getting active UI instruction parameters

Request:

GET https://localhost:5466/rw/rapid/uiinstr/active/params/RAPID/T_ROB1/%25%242502

Response:

<?xml version="1.0" encoding="UTF-8"?>
294912
  • 0
  • FALSE
  • "UIMessageBox Header"
  • ["Message Line 1","Message Line 2","Message Line 3","Message Line 4","Message Line 5"]
  • FALSE
  • ["OK","Skip"]
  • 1
  • FALSE
  • FALSE
  • FALSE
  • "UIMessageBox"

As per the RWS documentation, I tried to get the parameter value of the active UI instruction, but it is failing.

Request: GET: https://localhost:5466/rw/rapid/uiinstr/active/params/RAPID/T_ROB1/%25%242502/Result

Response:

Error: 500 Internal Server Error

<?xml version="1.0" encoding="UTF-8"?>
-1073414146rws_resource_rapid_uiinstr.cpp[435] code:-1073414146 icode:-1

Any suggestion on mechanism to retrieve the parameter value of active UI instructions and setting their values using RWS2 will be appreciated. Thanks!