Skip to main content

Registration Fails

You register your org in the aprity app in Salesforce, in the aprity Setup Wizard, under Register Organization: you paste your activation code and click Register. When registration fails, the wizard shows a Registration Failed message. The message usually starts with an HTTP status and ends with the reason, for example:

403 - Forbidden

This activation code cannot be used for this Salesforce organization. ...

Find your message below.

Before you start​

  • You need the aprity Admin permission set. Without it, the wizard shows "Assign the aprity Admin permission set to your user to enable registration." Assign it in Setup > Permission Sets > aprity Admin > Manage Assignments, then reload the app.
  • Paste the full code, with no spaces before or after it.

"Invalid activation code format."​

The code does not have the shape of an aprity activation code, so the app did not send it. Copy it again from the email or message you received. If the problem continues, ask aprity for a new code.

"Activation code not found or invalid" (400)​

aprity does not know this code. Check for typos. If the code is correct, it may have been issued for a different aprity environment than the one your package points to (see the next section), or it may have been cancelled. Ask aprity for a new code.

"This activation code belongs to another aprity environment" (409)​

Each aprity environment has its own activation codes. This code was issued for another environment. The full message names the environment the code belongs to. Ask aprity for a code for the environment your org should use.

Before you click Register, the wizard shows where the org will be registered: "This org will be registered on: ...". Check this line.

"This code targets pod ..., which this package version does not know. Update the package."​

The code is for an environment that your version of the aprity package does not include yet. Install the latest aprity package version, then register again.

"This activation code cannot be used for this Salesforce organization" (403)​

aprity links each code to one use:

  • A new org (one aprity has never registered) needs a new-customer code.
  • An org that aprity already knows (for example, after you uninstall and reinstall the package) needs a re-registration code issued for your existing aprity account.

If you use the wrong kind of code, registration is refused and your existing installation is not changed. The code is not used up, so you can still use it where it belongs.

Fix: contact aprity support and say that you are re-registering an existing org. Support will issue a re-registration code for your account.

"This activation code has expired" (400)​

Trial codes are valid for 14 days. Ask for a new code, or request a new trial at aprity.ai/trial.

"This activation code has already been used" (409)​

A code can be used a limited number of times. Ask aprity for a new code.

"This activation code is no longer active" (403)​

aprity disabled the code. Ask aprity for a new code.

"This installation belongs to another organization or its identity cannot be verified"​

This message appears when the org is a copy of another org, usually a refreshed sandbox. See Sandbox Refresh.

The service does not answer​

If the wizard reports that the aprity service is unavailable:

  • Wait a minute and try again. See "Service Starting Up" message.
  • Check that the Remote Site Setting FR_Aprity_API (installed with the package) is active: Setup > Security > Remote Site Settings.
  • If your company filters outbound traffic from Salesforce, allow HTTPS calls to api.aprity.ai.

Still blocked?​

Contact aprity support with:

  • The full error message from the wizard.
  • Your Salesforce Org ID (Setup > Company Information).
  • Whether the org is a production org or a sandbox, and whether it was recently refreshed.

Never send the activation code itself in a public channel.