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.