{tocify} $title={Table of Contents}
Error
Got below error while running the first demo project using Ballerina Integration
invalid 'org' under [package]: 'org' can only contain alphanumerics and underscores
What is Ballerina?
Ballerina is a programming language made for connecting systems and APIs. It helps developers build cloud-based apps and integrations quickly.
And one important file in a Ballerina project is called Ballerina.toml
. This file holds some basic information about your project — kind of like an ID card for your code.
Why it happened
What it's really saying is that, the name you gave your organization (in the project file) has characters I don't allow!
The value
"Maheshkumar Tiwari"
has a space ( ) in it. Ballerina doesn’t like that. The org
name can only contain letters, numbers, and underscores (_). No dashes, dots, or spaces!What to do
Just go into your Ballerina.toml
file and change the org
value to something that only uses:
- Letters (A to Z, a to z)
- Numbers (0 to 9)
- Underscores (_)
Tags:
Ballerina Integration