Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Segment fecth issue from analytics into AEM

Avatar

Level 1

Hi All,

 

Came across an issue where the fetching of the segments from analytics to AEM is failing with the below reason.

 

com.adobe.aem.global.core.services.analytics.impl.DefaultAdobeAnalyticsService response-----------{"error_code":"403010","message":"Oauth token is missing."}

 

Code snippet used:

final JsonObject response = segmentEndpointService.performIO_Action(segmentRequest.getRequestUrlParams());

Here performIO_Action is function provided by acs common.

getRequestUrlParams is just passing the standard parameters which could be seen in swagger UI as well (https://adobedocs.github.io/analytics-2.0-apis/#/segments/segments_getSegment).

 

Issue:

Previously segment data used to come in the response object but now the request is failing saying oauth is missing . Basically oauth was never configured.

Is there is any upgrade happened with analytics for these segment call or if anyone came across this similiar issue, please share your experience.

 

 

 

 

1 Reply

Avatar

Administrator

@narin_209202 If you have successfully found a solution on your own, we kindly ask that you share it with the community for future reference and mark it as the correct answer.



Kautuk Sahni