Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

Avatar

Level 3

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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!

View solution in original post

5 Replies

Avatar

Level 3

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)

Avatar

Level 3

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.

Avatar

Level 7

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

Avatar

Correct answer by
Level 10

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!