Extract Variable JSONPath working in Test, but not in Prod

I'm trying to extract 3 variables from an incoming JSON structure using the following Extract Variable code:

    <JSONPayload>
        <Variable name="siteId">
            <JSONPath>$.Facility</JSONPath>
        </Variable>
        <Variable name="moId">
            <JSONPath>$.ManufacturingOrderNumber</JSONPath>
        </Variable>
        <Variable name="m3Timestamp">
            <JSONPath>$.Timestamp</JSONPath>
        </Variable>
    </JSONPayload>
    <Source clearPayload="false">request</Source>
</ExtractVariables>

All three variables aren't nested within the JSON.

In our Dev and Test environment this is working as expected. But as soon as we deployed this to our Prod environment things got weird. As it won't extract any of the variables in this environment.

What we've already tried:

- See if there's a difference in environmental variables.

- Check Test and Prod environment traces to see if there's any difference.

- Use the same exact JSON files for both environments.

- Redeploy proxy/reload the policy.

Yet this hasn't fixed our issue yet. Any help will be appreciated!

0 0 49
0 REPLIES 0