Content creation failing #129
vinukumar-vs
started this conversation in
Bugs
Replies: 1 comment 5 replies
-
@vinukumar-vs Currently, Channel API behaviour is if there are no primary categories created in the system, it gets the categories from stem-level(content-service level) configurations. Because of this reason, you are seeing above values. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have created new channel as Channel creation failed while creation of the ORG in Lern.
https://github.com/orgs/Sunbird-Lern/discussions/125
But when the channel is created using Knowlg API, we have seen lot of default values being added for the channel. You can see below properties assuming all the different primaryCategories added by default while creating the channel
contentPrimaryCategories
,collectionPrimaryCategories
,contentAdditionalCategories
,collectionAdditionalCategories
Because of the above File upload editor is using default primary category of
Learning Resource
while creating the content.[2023-05-29T04:53:52.040] [ERROR] api - {"id":"e29924f6-fd78-fca8-9a1d-6ed9e84f1d7a","msg":"Getting error from content provider while creating content","err":{"err":null,"errCode":"404","errMsg":"Entry is not found in cassandra for content with identifier: obj-cat:learning-resource_content_all {}","responseCode":"RESOURCE_NOT_FOUND"},"additionalInfo":{"ekStepReqData":{"request":{"content":{"name":"VS29","description":"Enter description for Resource","createdBy":"4f2bcb07-6d8e-4022-9866-6e54f1222514","organisation":["Sunbird Org"],"createdFor":["0137972723324682240"],"framework":"sunbird_k-12","mimeType":"application/vnd.ekstep.ecml-archive","resourceType":"Learn","creator":"SunbirdOrgAdmin4","contentType":"Resource","code":"org.sunbird.gqwJ0g"}}}}}
@maheshkumargangula, @vrayulu, @Krishnaj20,@pallakartheekreddy, @gandham-santhosh, @rajeevsathish
Beta Was this translation helpful? Give feedback.
All reactions