Org creation failed #90
-
While setting-up the Lern instance first time, we are facing the below error while creating the new org Response Error: Request curl --location '{{host}}/api/org/v1/create' |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I was referring to some reference to what is "organisationType". I found the below details But it is not explained what is the enum list that is supported. How can we define this. |
Beta Was this translation helpful? Give feedback.
-
@vinukumar-vs |
Beta Was this translation helpful? Give feedback.
@vinukumar-vs
As discussed, pls set the default organisation types using system settings API.
Sample data:
{
"id": "orgTypeConfig",
"field": "orgTypeConfig",
"value": "{"fields":[{"name":"School","value":2,"description":"School","displayName":"School","flagNameList":["isSchool"]},{"name":"Board","value":5,"description":"Board","displayName":"Board","flagNameList":["isBoard"]}]}"
}