Architect Set Bot Data Failing on ServiceNow JSON Mapping

Has anyone figured out why the Set Bot Data node throws a 500 Internal Server Error when mapping the response from a custom ServiceNow REST API call? The payload structure matches the schema exactly, yet the flow fails immediately upon attempting to parse the nested JSON object into bot variables.