githubEdit

Common Errors and Resolutions

he following errors are provided to troubleshoot issues that arise. Please refer to the solutions and resources below for answers to some commonly encountered errors.

Error message: 413: Status Error - Downloading duplicate profile files simultaneouslyarrow-up-right

Error message: Authentication Failed - ALM connectivity due to incorrect configurationarrow-up-right

Error message: Cannot Open Git-Upload-Packarrow-up-right

Error message: Cannot find the declaration of element 'web:validateSalesforceOrgConnection'arrow-up-right

Error message: Failed to initiate deployment. Unexpected end of JSON input.arrow-up-right

Error message: Failed to push some refs to [remote]arrow-up-right

Error message: GH006: Protected branch update failed for refs/heads/master. Remote: error: Cannot force-push to a protected branch.arrow-up-right

Error message: GIT Push Result: RemoteRefUpdatearrow-up-right

Error: Installing CodeScan Sonar as a plugin in ARMarrow-up-right

Error message: Invalid meta-xml name: lwc/xxx/xxx.css-meta.xml, should end with js-meta.xmlarrow-up-right

Error message: Invalid Schema during the Merge Prevalidation Processarrow-up-right

Error message: Local and remote repositories are not on the same revisionarrow-up-right

Error message: Not Authorized (to Merge)arrow-up-right

Error message: Not Available for deploy for this organizationarrow-up-right

Error message: OAuth Authentication Failedarrow-up-right

Error message: Please check credentials for 'xxx' branch of 'abc' repositoryarrow-up-right

Error message: Pre-receive-hook declinedarrow-up-right

Error message: Picklist not foundarrow-up-right

Error message: Refusing to update checked out branch: [branch_name]arrow-up-right

Error message: RPC failed; result=XXX, HTTP code = XXX

Error: Unable to delete workspacesarrow-up-right

chevron-rightError message: RPC failed; result=XXX, HTTP code = XXXhashtag

This error is often related to network issues or server misconfigurations. It can occur when pushing large files or when the Git server is experiencing problems. Checking your network connection and trying again later may resolve this error.

chevron-rightError message: 'REJECTED_NONFASTFORWARD'hashtag

Suppose the error REJECTED_NONFASTFORWARD is thrown in your EZ-Commit; in that case, the issue is specific to your repository, and the error occurs at the GIT version control level when multiple developers try to modify a file simultaneously. If you reencounter this issue, please wait a few minutes and reattempt the commit.

chevron-rightError message: Schema is invalidhashtag

Users may encounter this error when a merge is failing for metadata members. This is due to an invalid structure. If there are any special characters like '>', '<', '|', '=', and the string(length =7), this is considered a GIT conflict (a GIT behavior), which will cause the merge to fail. To prevent this, we recommend that you limit the previously mentioned unique characters to less than seven (7).

For example, if you observe ">>>>>>>" character string(length =7) in any of the Apex Class files or any metadata member files, then update it to less than 7 in the branch itself and re-run the Merge.

chevron-rightError message: Schema is invalid for the filehashtag

Users may encounter this error when trying to perform a merge due to invalid characters like (>>>, <<<) symbols used in the file. To resolve, download the merge conflict files and validate the characters present in those XML files.

chevron-rightError message: SCM Authentication Failedhashtag

When a commit returns this error, it is either because:

  • Version control mapped to your Salesforce org user is incorrect.

  • Your user credentials are incorrectly configured in ARM.

  1. Ensure your account is correctly mapped with the version control branch to reflect the commits under your name.

  2. Verify your credentials in the Admin > Credential Manager section and authenticate the connection again.

chevron-rightError message: src refspec [branch] does not match anyhashtag

This error occurs when you try to push a branch that doesn't exist locally or has a different name. Ensure that the branch exists and that you have the correct name.

chevron-rightError message: TF402455: Pushes to this branch are not permitted; you must use a pull request to update this branchhashtag

This error may be encountered while attempting to commit changes for the production organization to the GitHub master branch. This is expected. When the branch is set with the branch policy, you cannot push it directly and need to create a pull request to update it. Once you remove the branch policy, you should have the ability to push changes to the master branch. Please contact the GitHub Administrator to request push permissions.

chevron-rightError message: The layout Must Contain an item for the required layout field: IsnonStandardhashtag
chevron-rightError message: This test is already in the execution queuehashtag

When generating a code coverage report for a registered Salesforce org, the test fails with this error if the Apex test execution takes a long time. Go to TAF > Apex Test Execution and clear all of the tests in the queue, then run the code coverage report through ARM again.

chevron-rightError message: Tip of your current branch is behind.hashtag

This error usually occurs when you try to push a commit to a target branch, but the HEAD has been updated by someone else after you started your merge. You need to fetch the latest changes from the remote repository using git fetch and then merge them into your local branch using git merge before attempting to push again. You can’t re-push because:

  • Your merge commit references an older state of the target branch.

  • Re-pushing would skip newer commits, which could cause lost work or conflicts.

You need to re-perform the merge using the latest version of the target branch.

chevron-rightError message: Unable to fetch Salesforce Org Usershashtag

This error may be encountered when a user tries to access the Salesforce Org in the ARM Version Control, CI Jobs, Deployment, and SFDX Modules. This may occur due to an invalid username, password, or security token, if the user is locked out, or if the Salesforce API version is incorrectly configured.

Upgrade the API source flow in your Salesforce org to the most recent version and maintain the same Salesforce version in ARM by going to Admin > My Account > My Salesforce Settings and updating the API version.

chevron-rightError message: Uploaded file is not having Workflow Ruleshashtag

This occur may occur when environment provisioning jobs are failing due to using the wrong file format for the package.xml file. Upload the correct package.xml file during the creation of environment provisioning jobs.

chevron-rightError message: Validation checking fails for your repositoryhashtag

Users may encounter this error message when a Merge is failed. This occurs when repository credentials are expired or have been modified and not updated in ARM.

  1. Navigate to Admin > VC repos, select your repository, and perform a test connection. Please verify your repository credentials are not expired or modified.

  2. Re-run the CI job after you confirm that the repository connection is successful.

chevron-rightError message: You are not authorized to push changes to the remote repositoryhashtag

This error occurs during the branching baseline operation when version control credentials are insufficient for pushing changes to a branch. This indicates that you have read permissions but not write permissions. After updating your permissions, re-run a new branching baseline operation.

chevron-rightError message: Your branch is ahead of [remote]/[branch] by X commitshashtag

This error message indicates that your local branch has commits that haven't been pushed to the remote branch. To resolve this, you can either push your local commits using git push or discard your local commits using git reset or git stash.

chevron-rightError message: Your connection is privatehashtag

If you are unable to connect to the ARM instance and get this error, it is due to cache and cookies in your system. To resolve this issue, follow the steps below.

  1. On your computer, open Chrome.

  2. At the top right, click More.

  3. Click More tools.

  4. Clear browsing data.

  5. At the top, choose a time range. To delete everything, select All time.

  6. Next to Cookies and other site data and Cached images and files, check the boxes.

  7. Click Clear data.

  8. Now, log in to your instances using the new browser tab.

Last updated

Was this helpful?