You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the listMetdata() call fails when the user is not an admin. Need to do some research to see what the user sees in the UI when this is thrown. Potentially we need to catch the error and modify it to return a more user friendly message i.e
You must have a system admin profile in order to use HappySoup.io. You are missing the ModifyAllData or ModifyMetadata permissions
{
"fetchOptions": {
"method": "POST",
"headers": {
"Content-Type": "text/xml;charset=UTF-8",
"SOAPAction": "c",
"Accept-Encoding": "gzip,deflate"
},
"body": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:met=\"http://soap.sforce.com/2006/04/metadata\">\n <soapenv:Header>\n n </soapenv:Header>\n <soapenv:Body>\n <met:listMetadata>\n <met:queries>\n <met:type>CustomObject</met:type>\n </met:queries>\n <met:asOfVersion>48.0</met:asOfVersion>\n </met:listMetadata>\n </soapenv:Body>\n </soapenv:Envelope>"
},
"json": {
"soapenv:Envelope": {
"soapenv:Body": {
"soapenv:Fault": {
"faultcode": "sf:INSUFFICIENT_ACCESS",
"faultstring": "INSUFFICIENT_ACCESS: use of the Metadata API requires a user with the ModifyAllData or ModifyMetadata permissions"
}
}
}
}
}
The text was updated successfully, but these errors were encountered:
the listMetdata() call fails when the user is not an admin. Need to do some research to see what the user sees in the UI when this is thrown. Potentially we need to catch the error and modify it to return a more user friendly message i.e
You must have a system admin profile in order to use HappySoup.io. You are missing the ModifyAllData or ModifyMetadata permissions
The text was updated successfully, but these errors were encountered: