Expected Behavior
Item is published to Experience Edge
Actual Behavior
"Publish-Item : Object reference not set to an instance of an object" message is thrown.
Steps to Reproduce the Problem
If your publishing db is named "experienceedge", run:
Publish-Item -Path "Path_to_item" -Target "experienceedge"
It will show the error. If you change your Target to "web" it will work as expected.
Versions
Sitecore PowerShell Extensions 6.4.0.22430
Sitecore 10.3
Sitecore Edge Connector 21.x
*note, if you
Expected Behavior
Item is published to Experience Edge
Actual Behavior
"Publish-Item : Object reference not set to an instance of an object" message is thrown.
Steps to Reproduce the Problem
If your publishing db is named "experienceedge", run:
Publish-Item -Path "Path_to_item" -Target "experienceedge"
It will show the error. If you change your Target to "web" it will work as expected.
Versions
Sitecore PowerShell Extensions 6.4.0.22430
Sitecore 10.3
Sitecore Edge Connector 21.x
*note, if you
Tested issue with clean install of Sitecore and the latest available version of SPE.
Asked questions on the Sitecore Slack Chat channel.
Reviewed questions and answers on the Sitecore Stack Exchange.