Skip to main content
added 8 characters in body
Source Link
nstuyvesant
  • 879
  • 2
  • 9
  • 22

It suggestsUPDATE: This error occurred because I just needwas trying to request patch versioning onmake the 1GP packaging and namespace org. I will postfirst version of my results if this works then mark Phil W's answer a correctsecond-generation managed package 2.

As an aside, the only1.0.NEXT instead of 1.0.0.NEXT. The reason the 1GPI chose that version was created at all is because Connected Apps cannot be created in a 2GP; they depend on ato create continuity with my 1GP. Patch versioning was not needed. The error message from it was erroneous (and unhelpful).

It suggests I just need to request patch versioning on the 1GP packaging and namespace org. I will post my results if this works then mark Phil W's answer a correct.

As an aside, the only reason the 1GP was created at all is because Connected Apps cannot be created in a 2GP; they depend on a 1GP.

UPDATE: This error occurred because I was trying to make the first version of my second-generation managed package 2.1.0.NEXT instead of 1.0.0.NEXT. The reason I chose that version was to create continuity with my 1GP. Patch versioning was not needed. The error message from it was erroneous (and unhelpful).

added 133 characters in body
Source Link
nstuyvesant
  • 879
  • 2
  • 9
  • 22

UPDATE: After recommendations from @Phil W below, the error is now...

It suggests I just need to request patch versioning on the 1GP packaging and namespace org. I will post my results if this works then mark Phil W's answer a correct.

As an aside, the only reason the 1GP was created at all is because Connected Apps cannot be created in a 2GP; they depend on a 1GP.

UPDATE: After recommendations from @Phil W, the error is now...

It suggests I just need to request patch versioning on the 1GP packaging and namespace org. I will post my results if this works then mark Phil W's answer a correct.

After recommendations from @Phil W below, the error is now...

It suggests I just need to request patch versioning on the 1GP packaging and namespace org. I will post my results if this works then mark Phil W's answer a correct.

As an aside, the only reason the 1GP was created at all is because Connected Apps cannot be created in a 2GP; they depend on a 1GP.

deleted 30 characters in body
Source Link
nstuyvesant
  • 879
  • 2
  • 9
  • 22
{ "namespace": "xyzzy", "sfdcLoginUrl": "https://login.salesforce.com", "sourceApiVersion": "56.0", "packageDirectories": [ { "default": true, "package": "Connector for Salesforce", "path": "force-app", "versionName": "Aurora 2023.2", "versionNumber": "2.1.1.NEXT", "definitionFile": "config/project-scratch-def.json", "dependencies": [ { "package": "Connector for Salesforce (1GP)" "versionNumber": "2@2.1.0.7" } ] } ], "packageAliases": { "Connector for Salesforce": "0Ho...", "Connector for Salesforce (1GP)@2.1.0.7": "04t...", "Connector for Salesforce (1GP)": "033..." } } 

I get anUPDATE: After recommendations from @Phil W, the error is now...

It seems odd thatsuggests I just need to request patch versioning must be enabled in my oldon the 1GP packaging and namespace org. Did I makewill post my results if this works then mark Phil W's answer a mistake in the configuration?correct.

{ "namespace": "xyzzy", "sfdcLoginUrl": "https://login.salesforce.com", "sourceApiVersion": "56.0", "packageDirectories": [ { "default": true, "package": "Connector for Salesforce", "path": "force-app", "versionName": "Aurora 2023.2", "versionNumber": "2.1.1.NEXT", "definitionFile": "config/project-scratch-def.json", "dependencies": [ { "package": "Connector for Salesforce (1GP)" "versionNumber": "2.1.0.7" } ] } ], "packageAliases": { "Connector for Salesforce": "0Ho...", "Connector for Salesforce (1GP)@2.1.0.7": "04t...", "Connector for Salesforce (1GP)": "033..." } } 

I get an error...

It seems odd that patch versioning must be enabled in my old 1GP packaging and namespace org. Did I make a mistake in the configuration?

{ "namespace": "xyzzy", "sfdcLoginUrl": "https://login.salesforce.com", "sourceApiVersion": "56.0", "packageDirectories": [ { "default": true, "package": "Connector for Salesforce", "path": "force-app", "versionName": "Aurora 2023.2", "versionNumber": "2.1.1.NEXT", "definitionFile": "config/project-scratch-def.json", "dependencies": [ { "package": "Connector for Salesforce (1GP)@2.1.0.7" } ] } ], "packageAliases": { "Connector for Salesforce": "0Ho...", "Connector for Salesforce (1GP)@2.1.0.7": "04t...", "Connector for Salesforce (1GP)": "033..." } } 

UPDATE: After recommendations from @Phil W, the error is now...

It suggests I just need to request patch versioning on the 1GP packaging and namespace org. I will post my results if this works then mark Phil W's answer a correct.

Some corrections per Phil W
Source Link
nstuyvesant
  • 879
  • 2
  • 9
  • 22
Loading
added 28 characters in body
Source Link
nstuyvesant
  • 879
  • 2
  • 9
  • 22
Loading
deleted 3 characters in body
Source Link
nstuyvesant
  • 879
  • 2
  • 9
  • 22
Loading
added 116 characters in body
Source Link
nstuyvesant
  • 879
  • 2
  • 9
  • 22
Loading
Source Link
nstuyvesant
  • 879
  • 2
  • 9
  • 22
Loading