You need to sign in to do that
Don't have an account?
Synthia B.
Web service callout failed: WebService returned a SOAP Fault: INSUFFICIENT_ACCESS
Users are getting the message below. How can I fix this issue?
Web service callout failed: WebService returned a SOAP Fault: INSUFFICIENT_ACCESS: use of the Metadata API
requires a user with the ModifyAllData permission faultcode=sf:INSUFFICIENT_ACCESS faultactor=
Error is in expression '{!insertSTC}' in component <apex:commandButton> in page servicetaskscreate:
Class.MetadataService.MetadataPort.readMetadata: line 69, column 1
Class.ServiceTasksCreateController.PicklistField: line 290, column 1
Class.ServiceTasksCreateController.insertSTC: line 226, column 1
An unexpected error has occurred. Your development organization has been notified.
Web service callout failed: WebService returned a SOAP Fault: INSUFFICIENT_ACCESS: use of the Metadata API
requires a user with the ModifyAllData permission faultcode=sf:INSUFFICIENT_ACCESS faultactor=
Error is in expression '{!insertSTC}' in component <apex:commandButton> in page servicetaskscreate:
Class.MetadataService.MetadataPort.readMetadata: line 69, column 1
Class.ServiceTasksCreateController.PicklistField: line 290, column 1
Class.ServiceTasksCreateController.insertSTC: line 226, column 1
An unexpected error has occurred. Your development organization has been notified.
I guess you are doing something with Metadata on a object, in this case, your user should be having 'ModifyAllData' permissions on that object.
Let me know iy are able to resolve this issue.
Thanks,
Neetu
All Answers
API is eanble fore the user Profile.
I guess you are doing something with Metadata on a object, in this case, your user should be having 'ModifyAllData' permissions on that object.
Let me know iy are able to resolve this issue.
Thanks,
Neetu
The error is coming from a VF page. How would I enable "ModifyAllData" for the VF page?
Thanks!
I am facing the same error. What can I do to resolve this issue. I have given permission the object still getting this error.