'Mulesoft Salesforce Query says CareprogramEnrolleeId field does not exist

Trying to Query CareProgramEnrolleeId field from ProductRequest in salesforce using the mulesoft salesforce query connector. Getting an error saying the field does not exist but it does. Have checked permissions and everything looks good there. Using the same account that we are using for the mule integration I can query that field in dev console.

Query is : SELECT CareProgramEnrolleeId From ProductRequest

Error received: Select CareProgramEnrolleeId From ProductRequest ^ ERROR at Row:1:Column:8 No such column 'CareProgramEnrolleeId' on entity 'ProductRequest'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names."



Solution 1:[1]

Mulesoft API version it was using for salesforce needed to be updated to 49.0 or above. Issue is now resolved

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Trace