Help Needed: 500 Server Error with Framework Read API #216
Replies: 4 comments 6 replies
-
Could you help with this @HarishGangula @maheshkumargangula @pallakartheekreddy |
Beta Was this translation helpful? Give feedback.
-
@rajnishdargan Can you please share the link that you referred and installed Sunbird. Also can you please more detailed error log from the |
Beta Was this translation helpful? Give feedback.
-
Hi @aimansharief, We will get back to you shortly with the details of the installation steps. |
Beta Was this translation helpful? Give feedback.
-
@rajnishdargan As we haven't received a response from you, we will proceed to close this thread. If you have any further questions or require assistance in the future, please don't hesitate to start a new thread. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hello Team,
Our team recently set up Sunbird using the Sunbird Installer and installed version 7.0.0. We have the Knowlg (taxonomy, content, etc.) and inQuiry (assessment service) services deployed
I successfully created a channel using the /channel/v3/create endpoint with the following payload:
{ "request": { "channel": { "name": "Test Channel", "code": "test-channel" } } }
API Documentation: Channel Create API
Next, I attempted to create a framework using the /framework/v3/create endpoint with this payload:
{ "request": { "framework": { "name": "Test Framework", "code": "test_framework", "description": "Framework for testing", "type": "K-12", "channels": [ { "identifier": "test-channel" } ] } } }
API Documentation: Framework Create API
The framework creation API returns a 200 success status. However, when trying to read the framework using the /framework/v3/read/{frameworkCode} endpoint, I receive a 500 Server Error. The logs show the following error:
com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'external.primaryKey' ... ... Exception occurred - class :com.typesafe.config.ConfigException$Missing with message :No configuration setting found for key 'external.primaryKey'
Framework Read URL: {host}/framework/v3/read/test_framework
Can anyone help me resolve this issue? It appears to be a configuration problem, but I’m not sure how to address it.
cc @coolbung @snehal0904 @AbhilashKD
Beta Was this translation helpful? Give feedback.
All reactions