forcedotcom / forcedotcom/devops-center-feedback

Cannot deploy connected app

Open
#256 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
61
Forks
2
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
I created a Connected App with OAuth enabled. This cannot be deployed becasue of the following error:
" of Type ConnectedApp failed to deploy due to The consumer key is already taken."

**To Reproduce**
Steps to reproduce the behavior:
1. Create a new Connected App and check the "Enable OAuth Settings" checkbox
2. Populate the required fields. Afterwards, client credentials should be generated (consumer key and secret)
3. Add this to a WorkItem, commit and deploy.
4. Deploying fails with above error.

**Additional context**
Known issue with deploying connected apps:
https://salesforce.stackexchange.com/questions/180747/migrating-connected-app-ant-deployment-error

**Workaround**
Manually creating on all orgs and ignoring in .forceignore. Needs to be done in all DevOps orgs because otherwise profiles might give errors (they have references to Connected Apps)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.