I am working on setting up AEM YouTube integration so we can publish videos from AEM to YouTube. I followed the documentation found here: Video - docs.adobe.com . I was able to create a google account, a new YouTube channel, and setup the configuration. However, when I try to add a tag, I am receiving a "Unspecified Error" in AEM.
Does anyone have any idea what could be causing the error or how I can get more information? This is on our Stage environment which is on Adobe servers so I don't have access to a lot of files.
Solved! Go to Solution.
This looks like a bug - somewhere a Java NULL is being thrown. I would recommend opening a ticket so ENg can fix this.
You have another option too. To publish a video located in the DAM to YouTube, you can write a custom workflow step that uses the YouTube APIs to publish a video.
Java Code Samples | YouTube Data API | Google Developers
This would work!
Views
Replies
Total Likes
Error Message:
12.07.2017 10:01:35.203 *ERROR* [10.43.32.41 [1499868095198] POST /etc/cloudservices/youtube/youtube-configuration/jcr:content/channel1/jcr:content.setyoutubechanneltags.json HTTP/1.1] com.day.cq.wcm.core.impl.WCMDebugFilter Error during include of SlingRequestPathInfo: path='/etc/cloudservices/youtube/youtube-configuration/jcr:content/channel1/jcr:content', selectorString='setyoutubechanneltags', extension='json', suffix='null'
java.lang.NullPointerException: null
at com.day.cq.dam.s7dam.common.youtube.servlets.YouTubeAccountServlet.doPost(YouTubeAccountServlet.java:130)
at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:149)
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:345)
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:376)
at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:547)
at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:77)
at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:96)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:182)
at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:149)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:371)
at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:171)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:282)
at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49)
Can you try YouTube Integration with CQ5 | TO THE NEW Blog to see if this helps
The link you provided is not what I am trying to do. I want to add a video to the DAM, then add a tag and on publish it uploads to YouTube. The link you provided is creating a Video component which is something I don't want to do.
Views
Replies
Total Likes
Ahh.. my bad.. possible to share content package so I can try it on my machine..?
Views
Replies
Total Likes
This looks like a bug - somewhere a Java NULL is being thrown. I would recommend opening a ticket so ENg can fix this.
You have another option too. To publish a video located in the DAM to YouTube, you can write a custom workflow step that uses the YouTube APIs to publish a video.
Java Code Samples | YouTube Data API | Google Developers
This would work!
Views
Replies
Total Likes
Views
Likes
Replies