-
Couldn't load subscription status.
- Fork 1
Open
Description
Brief bug description
npm run model:import --filename="scripts/backups/kickstart-base-new.zip" fails in newly generated projects due to the removal of Web Spotlight from the product.
Error:
...
pathname: '/v2/projects/efd35e99-0f03-00ea-7ec1-527eec298474/web-spotlight/status',
...
data: {
request_id: '9af40f76e88baf83',
error_code: 16,
message: 'You do not have sufficient permissions to perform requested action.'
}
},
status: 403
Repro steps
- Generate a new Kickstart project
- Clone the repo
- Run the model:import command per the Learn documentation
- See error
Expected behavior
Import cmd imports content model and sample items.
Additional context
Adding an exclusion to the import scripts allows the clean and import to run successfully.
await cleanEnvironment({
environmentId,
apiKey: mapiKey,
exclude: ["previewUrls", "webSpotlight"]
});
await restoreEnvironment({
environmentId,
apiKey: mapiKey,
fileName: process.env.npm_config_filename,
exclude: ["previewUrls", "webSpotlight"]
});
This change will need to be propagated to both Business and Technical Kickstart experiences.
Metadata
Metadata
Assignees
Labels
No labels