Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [deployment-error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

Unable to deploy simple APEX class due to test error from another plugin

I am helping a client to develop a custom LWC component, and I need a simple apex function to generate a list of records for me. Since getRecords from 'lightning/uiRecordApi' requires specific ids, ...
eforblue's user avatar
-1 votes
0 answers
33 views

Getting a Web service callout error when deploying Apex test class with no callouts

I am getting this error: Class Name: TestAutoConvertLeads1 MethodName: createnewlead Error Message: Methods defined as TestMethod do not support Web service callouts Stack Trace: null I am attempting ...
Doug Crew's user avatar
0 votes
0 answers
38 views

Change set error validating the flow definition component

First of all I have 2 errors. 1.Error validating the changeset. -I have a flow I created but I'm getting this error message in changeset: "insufficient access rights on cross-reference id" ...
Saber's user avatar
  • 1
1 vote
0 answers
42 views

RecordType failed to deploy due to duplicate value found: <unknown>

everyone! So, I was trying to deploy a new Opportunity Record Type from one Dev sandbox to another (Dev > UAT) using both Change-set and DevOps Center, but I keep receiving the following error with ...
Mauricio Alsina's user avatar
1 vote
1 answer
35 views

ExperienceBundle The devName of an existing route can’t be changed

Deploying an ExperienceBundle from DEV Org to CI org via devops procedures Get this error: Help_Center1 ExperienceBundle The devName of an existing route can’t be changed. Revert the devName of the ...
cropredy's user avatar
  • 71.7k
1 vote
0 answers
21 views

java.lang.NullPointerException error while Salesforce Deployment Experience Site

When i try to deploy ExperienceBundle to higher orgs I'm receiving the following error. No other details are available. How to overcome or find the exact issue in this case.
Vijay Sai Mahajan's user avatar
1 vote
1 answer
178 views

duplicate value found: <unknown> duplicates value on record with id: <unknown> when deploying flow with custom error

When I attempt to deploy a record-triggered flow with a custom error message element to a UAT sandbox, the validation phase fails with the vague error: "duplicate value found: duplicates value ...
Kamyar's user avatar
  • 31
0 votes
0 answers
31 views

Unable to deploy custom labels via SFDX metadata deployment

We deploy custom labels in our org via SFDX metadata deployment. So we use 'CustomLabels.labels-meta.xml' file to store and deploy labels to our higher orgs. Since last few days we are facing this ...
Zaheer's user avatar
  • 1
0 votes
1 answer
44 views

Lightning Page (FlexiPage) deployment error: Invalid property [token] in component [tableau:tableauViz]

I was deploying a change to a Lightning record page where I had added a Tableau View component into an accordion component Worked fine in my Dev org Deployed successfully into my Integration org ...
cropredy's user avatar
  • 71.7k
0 votes
1 answer
45 views

What is the metadata for "AI Applications" in this deployment error?

I'm trying to delete some fields from an org, and this error pops up saying that the field is being used somewhere: This custom field is referenced elsewhere in salesforce.com. AI Applications: ...
Renato Oliveira's user avatar
2 votes
1 answer
378 views

Connected apps deployment troubles in ApiVersion 59.0

After changing sourceApiVersion from 58.0 to 59.0 deployment of connected apps started failing with this error: Property 'isTokenExchangeFlowEnabled' not valid in version 59.0 Error points to this ...
SalesForceNewbie's user avatar
0 votes
0 answers
42 views

Deleting Lightning Component which is referenced previously in Community builder (currently the component is not in use) [duplicate]

I am trying to delete a component 'CategoryHeader' which is referred in Experience builder, geting the following error: **[LightningComponentBundle CategoryHeader] This component is found in 1 ...
BeginnerBuddy's user avatar
0 votes
1 answer
77 views

Salesforce LWR Experience Cloud Deployment Error - "add a default owner for guest-user created records."

I am trying to deploy a experience LWR experience site, i added the network component to the change set and added all its dependencies. then i uploaded it to a sandbox and the site was successfully ...
Manik's user avatar
  • 1
0 votes
1 answer
256 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: "...
jfraser's user avatar
-1 votes
1 answer
23 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) { ...
Mark5000 Crimper's user avatar
1 vote
0 answers
87 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 ...
Eduard's user avatar
  • 5,139
0 votes
1 answer
610 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 ...
Laura Castro's user avatar
0 votes
0 answers
452 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 ...
parkerbbrown's user avatar
0 votes
0 answers
188 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 ...
wesaw's user avatar
  • 3,080
0 votes
1 answer
1k 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 '...
Dips's user avatar
  • 1
-3 votes
1 answer
514 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 ...
Vidya's user avatar
  • 1
0 votes
1 answer
394 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 ...
Dara Sue's user avatar
3 votes
1 answer
939 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 ...
Vin Tang's user avatar
0 votes
1 answer
671 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 ...
dBeltowski's user avatar
  • 3,038
1 vote
1 answer
3k 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 ...
wesaw's user avatar
  • 3,080
0 votes
1 answer
66 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 ...
PieterJacob's user avatar
0 votes
1 answer
505 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 ...
cropredy's user avatar
  • 71.7k
0 votes
0 answers
98 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 ...
Alexis Perez's user avatar
0 votes
2 answers
404 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}...
Oupat's user avatar
  • 733
0 votes
2 answers
236 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 ...
Coder's user avatar
  • 11
0 votes
0 answers
1k 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 ...
SanJay's user avatar
  • 11
5 votes
4 answers
8k 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&...
Tuấn Trần quốc's user avatar
0 votes
2 answers
878 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 ...
Olivia's user avatar
  • 3,461
1 vote
1 answer
141 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 ...
Pramod's user avatar
  • 11
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 ...
Apex Srinivas's user avatar
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 ...
Nicolas Vuillamy's user avatar
1 vote
0 answers
7k 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 ...
Diya's user avatar
  • 11
0 votes
0 answers
505 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=&...
Sravya Pokuru's user avatar
0 votes
1 answer
4k 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 ...
kwojt's user avatar
  • 66
0 votes
1 answer
555 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@...
Apex Srinivas's user avatar
0 votes
1 answer
213 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 ...
Fgh999's user avatar
  • 35
2 votes
1 answer
2k 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 ...
NonameJavaNoob's user avatar
1 vote
0 answers
158 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 ...
Swati Shet's user avatar
0 votes
1 answer
3k 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 (...
sunil Bhoslae's user avatar
4 votes
1 answer
10k 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) ...
CPS's user avatar
  • 345
3 votes
1 answer
354 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 ...
Itai Shmida's user avatar
  • 5,025
0 votes
1 answer
162 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 ...
Teja 's user avatar
  • 15
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 ...
Shrey's user avatar
  • 21
-2 votes
1 answer
2k 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,...
Zoom_v's user avatar
  • 3,884
1 vote
2 answers
463 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 ...
Lightning Evangelist's user avatar