Step 8: Deploy Community metadata results in Error: "You can not create custom Guest profiles."
fzsfdc opened this issue · 4 comments
Summary
Following the GH steps: https://github.com/trailheadapps/ebikes-lwc for "Installing E-Bikes using a Scratch Org" and all successful until step 8. Deploy Community metadata: sfdx force:mdapi:deploy -d mdapiDeploy/unpackaged -w 5
Step 8: Deploy Community metadata results in Error: "You can not create custom Guest profiles."
Steps To Reproduce:
- Step 1 -8
- On Step 8: Deploy Community metadata results in Error: "You can not create custom Guest profiles."
=== Component Failures [1]
TYPE FILE NAME PROBLEM
───── ──────────────────────────────────────────────────── ─────────────── ─────────────────────────────────────────
Error unpackaged/profiles/E-Bikes Profile.profile-meta.xml E-Bikes Profile You can not create custom Guest profiles.
ERROR running force:mdapi:deploy: The metadata deploy operation failed.
=> Looks like there is a challenge on line Profile.profile-meta.xml with
Guest since the Guest profile does not exist in a new Scratch Org.
Expected result
MDAPI PROGRESS | ████████████████████████████████████████ | 4/4 Components
Actual result
ERROR running force:mdapi:deploy: The metadata deploy operation failed.
Additional information
Welcome! 👋
Thank you for posting this issue. 🙇🏼♂️ We will come back to you latest within the next 48h (working days). Stay tuned!
Hello @fzsfdc -
I've tried to reproduce this into a couple of org shapes but have had no luck. Can you confirm that you're not modifying config/project-scratch-def.json
and that you are not trying to push into a prerelease org?
Best
Stephan
Flagging this as stale, as there was no recent activity within the last 14 days. 🧐
Issue resolved