Parsing Cognigy Profile Token JSON in Genesys Data Action

We are trying to extract user attributes from a NICE Cognigy profile token using a Genesys Cloud Data Action. The REST call returns 200 OK, but the subsequent JSON parsing step fails with a null pointer exception. The payload structure is nested under data.attributes.profile. We have configured the output mapping to $.data.attributes.profile.language, yet the variable remains empty. We suspect the token expiration causes a malformed response body. We need to handle the parsing error gracefully without breaking the flow.