Skip to content

Comments

Fix config template used for init for script#53

Merged
ppandit-sfdc merged 2 commits intomainfrom
p.fix.init
Dec 5, 2025
Merged

Fix config template used for init for script#53
ppandit-sfdc merged 2 commits intomainfrom
p.fix.init

Conversation

@ppandit-sfdc
Copy link
Collaborator

Currently running datacustomcode init results in a ValueError: dataspace must be defined in ./payload/config.json. Please add a 'dataspace' field to the config.json file. because init uses empty json from a template to then call dc_config_json_from_file() which contains validation to check for dataspace.

This PR adds the required dataspace value to the config template to resolve this.

@ppandit-sfdc ppandit-sfdc merged commit 95e5935 into main Dec 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants