Cloud Service - Setting up AEM YouTube Integration - Unable to add tag | Community
Skip to main content
phall_hershey
Level 2
Jul 7, 2017 2:48 PM UTC
Solved

Cloud Service - Setting up AEM YouTube Integration - Unable to add tag

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Jul 18, 2017 7:35 PM UTC

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!

5 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
Jul 18, 2017 7:35 PM UTC

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!

Translate
viveksachdeva
New Participant
Jul 18, 2017 6:10 AM UTC

Ahh.. my bad.. possible to share content package so I can try it on my machine..?

Translate
phall_hershey
Level 2
Jul 13, 2017 12:09 PM UTC

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.

Translate
viveksachdeva
New Participant
Jul 13, 2017 6:55 AM UTC

Can you try YouTube Integration with CQ5 | TO THE NEW Blog  to see if this helps

Translate
phall_hershey
Level 2
Jul 12, 2017 2:03 PM UTC

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)

Translate