Monday, September 22, 2014

Your request cannot be processed at this time. The site administrator has been alerted.

In setting up and testing self-registration for a new community built on Salesforce Communities, you may encounter this confounding error: "Your request cannot be processed at this time. The site administrator has been alerted."

"Alerted" in the above statement refers to an email alert that went out to the site administrator. But who is the "site administrator"? You can find the email address used for this notification by locating the Site Guest User for your community's Force.com site.
  1. Open Setup > Manage Communities
  2. Click Force.com for the community in question
  3. Click Edit
  4. Change Site Contact to the user who should receive notifications when errors arise with self-registration. Make sure the user's email address is valid.


For sandboxes, make sure your Access to Send Email is set to "All email", under Setup > Email Administration > Deliverability. (Thanks Lynnet!)


Below are a few common reasons why you may be encountering the problem:
  • The community is not published. In case you're working with a community that is offline or in Preview status, you need to publish the community before self-registration will work.
  • The Account Owner does not have a User Role assigned. If you're creating a new Account record on the fly, especially in B2C situations, you need to make sure you assign a default account owner that also has a User Role value. Any role will do, and you can use either a workflow rule or Apex to perform the assignment.
  • The site guest user does not have Create and Read permissions on the Account and Contact objects. Edit Public Access Settings for the community's Force.com site to grant these permissions, along with field permissions for any fields that are included on the self-registration form. Note that by default the site's profile will not have these permissions.
  • Self-registration is not enabled for the community. Go to Manage Communities, click Edit and make sure the Login settings show that self-registration is enabled.

For more details on setting up a community for self-registration, please refer to the Getting Started with Communities guide.

8 comments:

  1. Previously I had recommended that people change the email address for the site guest user to the address where self-registration errors are sent, but this is inaccurate. I've updated the blog post to instruct users to set the Site Contact field, which is used to specify who gets error notifications and to what email address.

    ReplyDelete
  2. Hi Marty! Great post! I've followed your steps in troubleshooting my dilemma. I already set the Site Contact but still I am not receiving the email as to why a User is not being created. For our first two sandboxes, it was functioning just fine. I have no idea what's happening in this 3rd one. Would you have any idea on any setting that I am possibly missing? TIA!

    ReplyDelete
    Replies
    1. Did you got resolution for your issue? Iam facing the same problem.

      Delete
  3. I was able to receive an e-mail now containing the error! Changed the Access to Send Email from “System email only” to “All email”. That took a while. Whew! :)

    ReplyDelete
    Replies
    1. I'm glad you were able to resolve your issue, Lynnet, and thank you for sharing the resolution with me! I've incorporated this info into the post.

      Delete
  4. Hi Marty,

    I am getting the same issue (Your request cannot be processed at this time. The site administrator has been alerted) even after performing all the steps as suggested in the blog for common reasons to cause the issue.

    Below is the error I am receiving in email which I configured in contact email error notification.

    A new user's attempt to register at Portal_Users failed because the value for the profileID attribute is either null or invalid. Set the profileID for new users on the ChatterAnswersRegistration Visualforce page for the site associated with community Portal_Users or on the apex class associated with the Facebook authprovider.

    I couldn't find ChatterAnswersRegistration vfp in the org. I have set the Guest user profile Id in CommunitiesSelfRegController class but the issue still persists.

    Your help is required to resolve the issue

    ReplyDelete
  5. Still not receiving the email after updating the site contact

    ReplyDelete