# error.profilingAccessDenied

Cuneiform is installed, but you don't have profiling access.

You're missing one or more required permission sets.

Next steps:

1. Run the diagnostic to see exactly what's missing:
   sf cuneiform user details --target-org <your-org>

2. Preview what the auto-configure would change:
   sf cuneiform user details --target-org <your-org> --configure --dry-run

3. Apply the changes automatically:
   sf cuneiform user details --target-org <your-org> --configure

If you don't have permission to self-configure, ask your Salesforce administrator to assign the required Cuneiform permission sets.

# error.globalProfilingNotEnabled

Cuneiform is installed, but Global Profiling is not enabled.

API-Only Profiling must be enabled in the Configuration Profile before you can use the CLI.

Next steps:

1. Run the diagnostic to see your current readiness:
   sf cuneiform user details --target-org <your-org>

2. Preview what the auto-configure would change:
   sf cuneiform user details --target-org <your-org> --configure --dry-run

3. Apply the changes automatically:
   sf cuneiform user details --target-org <your-org> --configure

If you don't have permission to self-configure, ask your Salesforce administrator to enable API-Only Profiling in the Cuneiform Configuration Profile.

# error.cuneiformNotInstalled

Cuneiform for Salesforce is not installed in this org.

The Cuneiform for Salesforce CLI is available exclusively to PeerNova customers with an active license. The managed package must be installed and activated before you can use the CLI.

Next steps:

1. If you are a PeerNova customer, contact your Salesforce administrator to install the package.

2. If you need to obtain a license, request one at:
   https://jira-peernova.atlassian.net/wiki/spaces/CFCPD/pages/4196499551

3. To get Cuneiform for Salesforce:
   https://jira-peernova.atlassian.net/wiki/spaces/CFCPD/pages/2624356353

4. Once installed, verify your readiness:
   sf cuneiform user details --target-org <your-org>

For help: sfsupport@peernova.com

# error.selfRegistrationNotEnabled

Cuneiform is installed and API-Only Profiling is enabled, but CLI self-provisioning is not available.

Your administrator has not enabled CLI self-provisioning for API-based profiling. This setting ensures your admin controls which users can configure their own API profiling access — you're one admin action away from full access.

Next steps:

1. Run the diagnostic to see your full readiness status:
   sf cuneiform user details --target-org <your-org>

2. Ask your Salesforce administrator to enable "Enable API Profiling Self-Registration"
   in the Cuneiform Configuration Profile (Custom Metadata).

3. Alternatively, your admin can assign the API-Based Profiling permission set to you
   directly, bypassing self-provisioning.

# error.featureNotEnabled

API-Based Profiling is not enabled for this organization.

The Cuneiform for Salesforce CLI is available exclusively to PeerNova customers with an active license. This feature must be enabled by PeerNova before you can use the CLI.

Next steps:

1. If you are a PeerNova customer, contact your PeerNova account team to enable
   API-Based Profiling for your organization.

2. If you need to obtain a license, request one at:
   https://jira-peernova.atlassian.net/wiki/spaces/CFCPD/pages/4196499551

3. To get Cuneiform for Salesforce:
   https://jira-peernova.atlassian.net/wiki/spaces/CFCPD/pages/2624356353

4. Once enabled, verify your readiness:
   sf cuneiform user details --target-org <your-org>

For help: sfsupport@peernova.com

# error.environmentConfigureBlocked

Configuration is not allowed in production environments.

The configure and autoconfigure commands are restricted to non-production orgs to protect your production data. This org has been identified as a Production org.

Next steps:

1. Run the diagnostic to confirm your org type:
   sf cuneiform user details --target-org <your-org>

2. Use a sandbox, scratch org, or developer org to test configuration:
   sf cuneiform user details --target-org <sandbox-org> --configure

3. If you believe this org was misidentified, contact your Salesforce administrator to verify the org type.

# error.connectionFailed

Could not verify your Cuneiform access. The connection to your org failed before the access check could run.

Detail: %s

Next steps:

1. Verify your org is authenticated:
   sf org list --all

2. Re-authenticate if needed:
   sf org login web --alias <your-org>

3. Once connected, verify your readiness:
   sf cuneiform user details --target-org <your-org>

If the problem persists, check your network connection and ensure the Salesforce instance is reachable.

# error.accessCheckFailed

Could not verify your Cuneiform access.

%s
