Unable to publish content #57
Closed
paritshivani
started this conversation in
General Discussions
Replies: 1 comment 5 replies
-
@paritshivani Publish api try to download all asset including plugins. So please check if below configuration in learning-service (vm based application) is having correct value or not. content.media.base.url="{{content_media_base_url}}" variable values should be as below: |
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
-
Hi @keshavprasadms, @vinukumar-vs @AmiableAnil
Hope you are doing well!..
Site Environments Details - SunbirdEd portal of version 4.4.1
Issue - We are unable to Publish few content getting following error.
API Details -
Request URL: host//content/content/v1/publish/do_id
Status Code: 400 Bad Request
Payload -
{
"request": {
"content": {
"publishChecklist": [
"No Hate speech, Abuse, Violence, Profanity",
"No Sexual content, Nudity or Vulgarity",
"Appropriate Title, Description",
"Correct Category, Sub-Category, Topic, Language",
"Content plays correctly",
"Can see the content clearly on Desktop and App",
"No Discrimination or Defamation",
"Is suitable for all stakeholders/ scholars",
"Appropriate tags such as Resource Type, Concepts",
"Relevant Keywords",
"Audio (if any) is clear and easy to understand",
"No Spelling mistakes in the text",
"Language is simple to understand"
],
"lastPublishedBy": "6939db9e-94ac-4748-b53f-7b2fc59b30b1"
}
}
}
Response -
{
"id": "api.content.publish",
"ver": "1.0",
"ts": "2022-09-02T14:16:37.075Z",
"params": {
"resmsgid": "db154230-2ac9-11ed-a831-93acf1dda9a5",
"msgid": null,
"status": "failed",
"err": "MISSING_ASSETS",
"errmsg": "Error! Missing Asset. | [Asset Id 'b7ab156d-6cc0-47b9-b3c8-0721a05913ba' is missing.]"
},
"responseCode": "CLIENT_ERROR",
"result": {}
}
Can you please look into it and let us know the steps to resolve the same.
cc @coolbung, @Renuka-S, @vinod303
Beta Was this translation helpful? Give feedback.
All reactions