Analytics functions always returns error - AEPError | Community
Skip to main content
February 23, 2022
Solved

Analytics functions always returns error - AEPError

  • February 23, 2022
  • 1 reply
  • 2262 views

Calling Analytics functions such as Analytics.getVisitorIdentifier or Analytics.getTrackingIdentifier always returns AEPError objects without any description of the error.

Is there a way to get error descriptions or something that may indicate how to get this working?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arjun_bhadra

Hi @16353630 ,

AEPError is an enum and has different cases which you can refer here. You can accordingly have retry logic based on the error type. If you need more help with debugging the issue please open the ticket through customer support.

Thanks, 
Arjun

1 reply

arjun_bhadra
Adobe Employee
arjun_bhadraAdobe EmployeeAccepted solution
Adobe Employee
February 24, 2022

Hi @16353630 ,

AEPError is an enum and has different cases which you can refer here. You can accordingly have retry logic based on the error type. If you need more help with debugging the issue please open the ticket through customer support.

Thanks, 
Arjun

February 28, 2022

I got it, but still, the response I get is meaningless to me.

It is not giving me any indicator about how to fix the issue and get the value I need.

 

I am always getting ".unexpected" and the logger show this:

[AEP SDK TRACE - <EventHub>] Dispatching Event #83 -     [
  id: ********-****-****-****-************
  name: TrackingIdentifierValue
  type: com.adobe.eventType.analytics
  source: com.adobe.eventSource.responseIdentity
  data: {

  }
  timestamp: 2022-02-28 17:10:11 +0000
  responseId: Optional("********-****-****-****-************")
  mask: nil
]
arjun_bhadra
Adobe Employee
Adobe Employee
February 28, 2022

Hi @16353630, we will need a complete verbose/trace logs to debug this. The errors in the SDK are generic to be returned by all the APIs. We have verbose logs in place which can go through to discover the issue or errors in the workflow. Can you open a ticket with customer support so we can look more into this?

Thanks,
Arjun