I’m trying to set up a new Data Source and Authentication Provider in SKUID for the purposes of setting up a public access method of accessing Salesforce data.
I followed this guide:
https://docs.skuid.com/v11.2.0/en/data/salesforce/
I’ve set it up and everything seems to work on the live working page I’m using (records are retrieved / updated as needed), but the problem I’m having is in the SKUID editor I’m getting an error:
“Error retrieving metadata for Model(s) associated with Data Source ‘MY_DATA_SOURCE’. Please check Models’ properties to ensure they are set correctly. Unable to authenticate to Salesforce. Metadata could not be retrieved. Authentication Failed”
It’s difficult to tell because changes in Salesforce don’t seem to necessarily sync live with SKUID to prevent this error from happening in the editor, but it seems like if I set the user that configured the App in Salesforce that makes this connection (the Salesforce user that this connection runs through) to a System Administrator, this error goes away and the metadata is retrieved properly, but if I set it back to a very limited profile the error returns.
The limited profile I set up only has access as defined in the documentation for setting this up, and for one object I’m working with.
So based on the documentation / guide - on the profile, API Enabled is checked and the Connected App is given access via the profile as well.
What permission am I missing here to allow SKUID to read the metadata properly that a System Administrator has but the limited profile doesn’t?
If anyone has any ideas they would be greatly appreciated.
Thanks!