Questions tagged [deployment-error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
107 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 ...
  • 66.8k
0 votes
0 answers
29 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
50 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}...
  • 703
0 votes
2 answers
45 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 ...
  • 1
0 votes
0 answers
72 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
229 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 ...
  • 11
4 votes
4 answers
4k 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
189 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 ...
  • 3,329
1 vote
1 answer
73 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 ...
  • 11
0 votes
0 answers
142 views

Deployment Error while using Jenkins with Jenkinsfile

I am getting below error while running the build that actually does the authorizing the org using JWT My code : withEnv(["HOME=${env.WORKSPACE}"]) { withCredentials([file(credentialsId: ...
0 votes
1 answer
625 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 ...
2 votes
3 answers
1k 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
2k 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 ...
  • 1
0 votes
0 answers
277 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
1k 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 ...
  • 66
0 votes
1 answer
170 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 abc@validusername.com for type user. The abc@...
0 votes
1 answer
104 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 ...
  • 35
2 votes
1 answer
633 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
90 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
733 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 (...
3 votes
1 answer
5k 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) ...
  • 185
3 votes
1 answer
278 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 ...
  • 4,915
0 votes
1 answer
78 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 ...
  • 15
1 vote
1 answer
664 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 ...
  • 11
-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,...
  • 3,814
1 vote
2 answers
238 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
4k 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
107 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
80 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: ...
  • 123
0 votes
1 answer
1k 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
0 votes
1 answer
2k 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 ...