I am getting the below error when I deploy connected app using ANT. Do you guys have any idea, why this error occurs and whats the solution to migrate via ANT.
Error: The consumer key is already taken
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
According to the ConnectedApp Metadata API documentation, each connected app must have a unique consumerKey value.
One way to deploy your connected app is to remove the consumerKey from the .connectedApp xml file. When this component deploys in the new org, a new consumerKey will be automatically generated.
Another option is to create the connected app in one org (your target org, if possible) and access it from other orgs using its connected app details.