Getting error message -

faultcode:'sf:INSUFFICIENT_ACCESS', faultstring:'ClassName: no access allowed to this class.',

Please help.

Note: "Access of the class is already enabled"

1 Answer 1


Please note if you are trying to call a class method from a Custom Button using AJAX then -

  1. Class needs to be a Global class
  2. Method you intend to call from the javascript must be a Webservice Method
  3. Access to the Class has been provided via security button/link

This should resolve your issue.


Not the answer you're looking for? Browse other questions tagged .