Symptom
The Cribl Apps CLI returns Error: Invalid app id "'sample_application'". when the Create App command is run in Windows Command Prompt.
The generated command uses single quotes around values. Windows Command Prompt passes the single quotes literally, so the CLI receives them as part of the app ID.
Environment
- Cribl Apps in Cribl.Cloud
@cribl/appsCLI- Windows Command Prompt
Resolution
- Run the generated
npx @cribl/apps@latest createcommand in Windows Command Prompt without single quotes around the values. - Use double quotes around the
--openapi-urlvalue so?and=are passed safely. - Use double quotes for any value that contains spaces.
- Alternatively, run the copied command in Git Bash or WSL, which accept the single-quoted command.
Cause
This can be caused by a shell-quoting mismatch:
- The Create App wizard generates POSIX-style single quotes around command values.
- Windows Command Prompt passes single quotes literally.
- The CLI receives the app ID as
'sample_application'. - App IDs allow only letters, numbers,
_, and-, so the CLI rejects the value.
Additional Information
See Quick Start: Build and Install Your First App for the Apps creation workflow.
