Description
Running aio app init
and going through the steps gives a generic error when the tool is creating the staging workspace. I have previously had no issues with this step. Using aio app create
yields the same results.
aio app init
? Select Org: My Org Here
? Select a Project, or press + to create new: +
? > do you wish to create a new Project? Yes
Enter Project details:
? Name: someproject
? Title: someproject
? Description: someproject
⠼ Creating Stage Workspace... › Error: [CoreConsoleAPISDK:ERROR_CREATE_WORKSPACE] 500 - Internal Server Error
› ({"id":"c4897e71-a266-4cba-8868-686d9eb6d00f","messages":[{"template":"ERR_MSG_GENERIC_MESSAGE","message":"Unknown
› Error"}]})
To reproduce
- Make a new directory & cd into it
- Run
aio app init
- Select create new project, give it a name, title, and description
- AIO CLI errors out on the
Creating Stage Workspace...
step
However, this flow will create the project and a production workspace. Which are visible in the developer console UI and selectable via the CLI
Attempting to create the staging workspace by running aio app init
again to add a staging workspace yields a message that staging already exists...
aio app init
? Select Org: My Org here
? Select a Project, or press + to create new: someproject
? Workspace 'Stage' does not exist
> Do you wish to create a new workspace? Yes
'--workspace=Stage' in Project 'someproject' not found.
Creating one...
⠼ Creating Workspace... › Error: [CoreConsoleAPISDK:ERROR_CREATE_WORKSPACE] 400 - Bad Request ({"id":"41958652-e21e-4531-ad04-e4373d5b9be2","message
› s":[{"template":"ERR_MSG_RETRY_OR_CONTACT","message":"{\"errors\":[{\"error_code\":\"1064\",\"message\":\"Name 'Stage'
› already in use\"}]}"}]})
aio info
System:
OS: macOS 15.4.1
CPU: (8) arm64 Apple M3
Memory: 91.36 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.20.5 - ~/.nvm/versions/node/v18.20.5/bin/node
Yarn: Not Found
npm: 10.8.2 - ~/.nvm/versions/node/v18.20.5/bin/npm
Virtualization:
Docker: 28.0.4 - /usr/local/bin/docker
npmGlobalPackages:
@adobe/aio-cli: 10.3.4
Proxies:
http: (not set)
https: (not set)
CLI plugins:
core:
@adobe/aio-cli 10.3.4
@adobe/aio-cli-plugin-app 13.3.0
@adobe/aio-cli-plugin-app-dev 2.1.0
@adobe/aio-cli-plugin-app-storage 1.1.0
@adobe/aio-cli-plugin-app-templates 2.0.3
@adobe/aio-cli-plugin-auth 4.0.1
@adobe/aio-cli-plugin-certificate 2.0.1
@adobe/aio-cli-plugin-config 5.0.1
@adobe/aio-cli-plugin-console 5.0.1
@adobe/aio-cli-plugin-events 4.0.1
@adobe/aio-cli-plugin-info 4.0.1
@adobe/aio-cli-plugin-runtime 7.1.0
@adobe/aio-cli-plugin-telemetry 2.0.2
@oclif/plugin-autocomplete 3.2.27
@oclif/plugin-help 6.2.27
@oclif/plugin-not-found 2.4.3
@oclif/plugin-plugins 5.4.36
@oclif/plugin-warn-if-update-available 3.1.38
user:
link: