Questions tagged [deployment-error]
The deployment-error tag has no usage guidance.
44
questions
0
votes
1
answer
90
views
Cannot deploy report type on Group Member object
I have created a report type on the Group Member object in a scratch org and pulled it into source control. When I attempt to push it to another scratch org, I get the following error:
"...
-1
votes
1
answer
17
views
Unexpected Tokens on Test Class for Apex Trigger: What am I doing wrong to create a test class for this Trigger trying to deploy to Production?
@isTest
public class LeadRemovalTestClass
{
Static testmethod void updateRecord()
trigger UpdateLeadOnRemoval on ActionCadenceTrackerChangeEvent (after insert) {
...
1
vote
0
answers
34
views
Cannot deploy a new picklist field to a scratch org due to error: "Duplicate label"
We are using scratch org validation as part of our CI/CD process. I created a new custom picklist field. When CI job deploys this field to a brand new scratch org the following error occurs:
Metadata ...
0
votes
0
answers
168
views
Deploying Lightning Email Templates via Metadata API
I am getting this error when attempting to deploy my Lightning Email Template:
You don't have the right to create Lightning pages of type EmailTemplatePage.
In my deployment I have the .email file and ...
0
votes
0
answers
135
views
How do I resolve this deployment "fatal error?"
I receive the below "fatal error" running a deployment to a dev sandbox that includes destructive changes. The error occurs after tests run:
EntityObject can not be initialized with null ...
0
votes
0
answers
108
views
Sandbox Deployment Error - NotificationTypeConfig: record_collection_share is an invalid notification type
We are getting the following error when trying to deploy our project codebase into some sandbox provided by the client:
Error NotificationTypeConfig: record_collection_share is an invalid notification ...
0
votes
1
answer
826
views
An object '' of type Dashboard was named in package.xml, but was not found in zipped directory
When I am trying to deploy a dashboard with its dashboard folder, I am receiving an error through package.xml. Below is the error:
Error SalesRepDashboardsTableauxdebord
An object '...
-3
votes
1
answer
244
views
System.TypeException: System.runAs can only be used with an active user [closed]
I am trying to deploy one UserStory from UAT to Prod in Copado, but receiving this error "System.TypeException: System.runAs can only be used with an active user" for one Test class.
But i ...
0
votes
1
answer
323
views
Getting an 'Intent Disambiguation' Error when deploying a bot with a NEW NLP setup to the next sandbox
We recently deployed NLP to our existing Bot in a sandbox - we've created an intent set, loaded the intent set with utterances, turned on einstein and added the intent set to the different dialogs we ...
3
votes
1
answer
890
views
Invalid IOS url - Experience Bundle Site.com Deployment Error
Deployments were working fine before:
All of a sudden I am now getting an error message of "Invalid IOS url" when trying to deploy my ExperienceBundle site. It points to the metadata file as ...
0
votes
1
answer
311
views
In the ReportFolder metadata, what does the sharedTo reference when sharing to a User?
I'm trying to deploy a singular Report and Folder. When I deploy I get an error saying The user, group or role is not associated with a valid group. for the Folder. As a result my report fails as well ...
1
vote
1
answer
2k
views
Profile Deployment Error: Unknown user permission CanAccessCE
We are getting an error when trying to deploy code of our project into another sandbox.
Every profile has failed with 'Deployment Error: Unknown user permission CanAccessCE'.
While the nature of such ...
0
votes
1
answer
41
views
Deploy error: No such column 'EnhancedLetterheadId' on entity 'EmailTemplate'
During upgrading a sandbox environment I receive deploy error:
Dependent class is invalid and needs recompilation: Class msf.MySalesforceClass: EnhancedLetterheadId, ^ ERROR at Row:11:Column:6 No such ...
0
votes
1
answer
346
views
Experience Bundle deploy- The activeViewId for the XXX route in .../routes/reportBuilder.json doesn’t point to a valid view. Update activeViewId
I'm deploying Experience Bundles from our PROD Customer Service/guest user-only site (called Help_Center1 to our Staging sandbox which has gotten out of date with PROD
PROD -> VCS -> Staging
...
0
votes
0
answers
82
views
Coding error when deploying with ant migration tool
I am trying to deploy using the ANT Migration Tool to a test environment before pushing this file to the master branch. However, when running the "ant deploy" command I get the following ...
0
votes
0
answers
21
views
ERROR DEPLOY TO ORG [duplicate]
how are you? I get this error when trying to deploy a part of a package, which I already did the retrieve in the project, and when I want to deploy I get these errors in some folders
Error Cannot ...
0
votes
1
answer
281
views
Unable to deploy a report folder with ant
Hello,
I try to deploy a report folder (not reports inside because sharing is modified) by using Ant but I get an error message:
Error parsing file: Element
{http://soap.sforce.com/2006/04/metadata}...
0
votes
2
answers
174
views
Flow section headers
I have a flow which has sections. Each section has a header which works completely fine.
When we promote this flow to another sandbox section headers are getting removed from flow.
Please provide ...
0
votes
0
answers
325
views
Value too long for field: RelatedEntityType maximum length is:40
I tried deploying an email template via VSC , and then tried via Change Set, however I get the error
'Value too long for field: RelatedEntityType maximum length is:40'
The Related Entity is called '...
0
votes
0
answers
885
views
Error when validating the deployment 'We couldn't retrieve the design time component information for component'
I am trying to validate Salesforce metadata deployment and getting the following error.
Github actions trigger the deployment validation when a PR is raised.
We couldn't retrieve the design time ...
5
votes
4
answers
7k
views
Error 405 Only POST allowed when deploying code from VsCode to Org
I tried to deploy my code from VsCode to my Sandbox and got this error from the output:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8&...
0
votes
2
answers
586
views
Deploy Failure: Invalid type From Trigger
I am not sure if there is something small I am missing but whenever I try to deploy I get this error:
Failure
AllLeadTriggers ApexTrigger Invalid type: LeadDeDuplicationHelper (line:5)
My trigger is ...
1
vote
1
answer
128
views
No package.xml found : Trying to deploy the salesforce package using Rest API
I'm trying to deploy the unmanaged package to my salesforce developer account using the following doc from salesforce Deploy Metadata with Apex Testing Using REST As per the doc in body I'm passing ...
0
votes
1
answer
2k
views
How can I deploy a global value set?
I am trying to deploy via Metadata API a global value set that is already existing in production. But I keep hitting an error stating:
Error Region fullName must end with: __gvs
Region is the ...
5
votes
3
answers
3k
views
Property 'allowNullValues' not valid in version 54.0
When using force:source:deploy with a package.xml we have the following error
Error Contract__c.ContractNumber__c Property 'allowNullValues' not valid in version 55.0
Everything was fine until ...
0
votes
0
answers
5k
views
Unable to find Apex action method referenced as 'metadataInsertUpdate.handleInsertAndUpdate'
I am trying to deploy a lightning web component where I have referenced the apex class named 'metadataInsertUpdate'. The apex class is already there in the target org. But still getting this error as ...
0
votes
0
answers
445
views
I am facing an error while deploying child lwc component in vscode as No MODULE named markup://c:modal found : [markup://c:testingreusableModal]
HTML file
<template>
<lightning-card title="Modal Component Testing">
<div class="slds-p-around_medium">
<lightning-button variant=&...
0
votes
1
answer
3k
views
ExperienceBundle deployment error - "Your site needs a route with route type too-many-requests. Update your file and try again."
I tried to deploy ExperienceBundle my sandbox to our integration sandbox, but I kept getting the following error:
Your site needs a route with route type too-many-requests. Update your file and try ...
0
votes
1
answer
407
views
Approval Process deployment failing with strange error
I am deploying a Approval Process file via Metadata API and it is erroring out stating:
The approval process contains an invalid submitter value [email protected] for type user.
The abc@...
0
votes
1
answer
174
views
If deployment via SFDX fails, then no components are deployed?
If I will do deployment to my scratch org and I have "Deployment Failed" (because of 1 failing component), then it means that no component was deployed?
Is there a way to deploy all ...
2
votes
1
answer
1k
views
I can't see deployed field after deployment via change sets (but I can see that field in setup)
I deployed my code through change sets from full copy sandbox to production: I included my new custom field and I can see that field on Contact from Setup on Production:
But despite adding them at ...
1
vote
0
answers
144
views
Using a package to deploy a change removed field tracking on custom field
One of our engineers deployed a change to Salesforce using the package system - namely a new field on the Lead object.
However, a field that was part of the same package on the account object: CSM ...
0
votes
1
answer
2k
views
Deployment : Deploy standard quick action which is creating member plan record
We are trying to deploy a quick action(Add_Benefit_Plan ) which is present on Account Object. Action Type of this quick action is 'Create Record'. This quich action create the Record in Member Plan (...
4
votes
1
answer
9k
views
Property 'identifier' not valid in version 51.0 [duplicate]
Trying to deploy from environment to another a LightningPage, I get this error:
Property 'identifier' not valid in version 51.0
I don't know where I can specify the version of the page (or change it) ...
3
votes
1
answer
337
views
I cannot deploy anything into my production org because of the Goal object deprecation
Latest Spring 22 release on Saturday has deprecated some of the Work.com objects:
https://help.salesforce.com/s/articleView?id=000356306&type=1
One of these objects is the standard object Goal ...
0
votes
1
answer
133
views
Deployment issue with deleted package references "Only components in the same namespace as the organization can be created through the API
I have package originally and deleted that in source org and trying to do deployment to the target org after deleting without that package references but still its referencing and giving deployment ...
2
votes
1
answer
1k
views
Not able to fix the error "Recipe must specify a dataflow"
I had created a dashboard in one org and now i am trying to deploy it to a higher org environment using copado. I had created the dataset from a recipe so what i had done is that is that i had ...
-2
votes
1
answer
1k
views
Method does not exist or incorrect signature...?
I'm trying to deploy/validate a class but getting this error, even though the class is working in the sandbox.
Method does not exist or incorrect signature void buildHTTPRequest(String,String,String,...
1
vote
2
answers
364
views
Deployment Error: Product2 - Custom Object - You can’t change the org-wide sharing defaults for products
I am receiving the below error message when deploying a build to a sandbox. We don't use Product2 object at all. Never have. No idea why it is complaining? Any recent changes would have nothing to do ...
2
votes
2
answers
7k
views
How to deploy assignement of Compact layout & Record Lightning page to Record Type/Profil
How can i deploy assignement of Compact layout & Record Lightning page to Record Type/Profil .
I tried this package ,the compact layout and record page were deployed properly but the assignement ...
0
votes
0
answers
148
views
INSUFFICIENT_ACCESS when attempting to delete LWC from org with destructiveChanges.xml
I am attempting to delete an LWC from a developer org, as the system admin. I had the LWC in a managed package, and have the ability to remove it. However, when I try to delete the LWC with ...
0
votes
1
answer
87
views
Deploy error: List has no rows for assignment to SObject and INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY
I am trying to deploy a destructive package, but I am receiving the following errors in test classes:
System.DmlException: Insert failed. First exception on row 0; first error: ...
-1
votes
1
answer
2k
views
Cannot delete record type through API
I'm new to Salesforce. I was trying to deploy the code from my local to scratch org.
While push to scratch org it generates the following error and push failed.
Error
force-app\main\default\objects\...
1
vote
1
answer
3k
views
PermissionSet deployment Error: Permission Query All Files depends on permission(s): Read All BackgroundOperation, Read BackgroundOperation
I'm getting following error while deploying source with SFDX into sandbox. This error happens without any changes to any permission set.
Permission Query All Files depends on permission(s): Read All ...