Postman Collection Fails at "Set Setting - orgTypeConfig", Causing All Subsequent APIs to Fail #828
Replies: 2 comments 2 replies
-
|
Hey @Aparnadeloitte Before we dive deeper into this issue, I’d like to understand your deployment setup. Could you please share:
One possible cause of this issue is that the required table may not have been created in Cassandra. In our standard installation process, a job named cassandra-migration-job runs to initialize all necessary database schemas. Sharing your installation steps will help us better understand the situation and assist you more effectively. |
Beta Was this translation helpful? Give feedback.
-
|
Deployment Details:
Installation Steps Followed:
Also attaching the logs of run-cassandra-migration-29524035 job from the sunbird namespace for your reference. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
While executing the Postman collection, the request fails at the second step "Set Setting - orgTypeConfig" with a server error indicating that the system_settings table is unconfigured. As a result, all subsequent APIs in the collection are also failing.
API ENDPOINT: POST https://{{host}}/api/data/v1/system/settings/set
REQUEST:
curl --location 'https://{{host}}/api/data/v1/system/settings/set'
--header 'Authorization: Bearer xxxxxxxxxx'
--header 'x-authenticated-user-token: xxxxxxxxxxxxxxxxxx'
--header 'Content-Type: application/json'
--data '{
"request": {
"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"]}]}"
}
}'
RESPONSE:
{
"id": "api.system.settings.set",
"ver": "v1",
"ts": "2026-02-18 08:00:24:101+0000",
"params": {
"resmsgid": "1086de08dbf4e8b2a4103c2aafb9c37a",
"msgid": "1086de08dbf4e8b2a4103c2aafb9c37a",
"err": "UOS_SYSCRTUOS_0069",
"status": "FAILED",
"errmsg": "unconfigured table system_settings"
},
"responseCode": "SERVER_ERROR",
"result": {}
}
Additional Details: v8.1.0
Beta Was this translation helpful? Give feedback.
All reactions