I am packaging an external data source (namely Salesforce Connect: OData 4.0). I'm specifically having trouble implementing named credentials. For authentication, I'm using Named Principal with Password Authentication. Using sfdx, the password will be visible in source code. My solution is to use named credentials, and using named credentials for the OData url works great, until you try to package it. During package creation, I get the error "The URI is invalid". It seems to be choking on the named credential syntax callout:MyNamedCred. How can I create a package?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.