Expand my Community achievements bar.

Check out the November edition of the Analytics Community Lens newsletter to see what's been trending in the last two months!

Issue in fetching ECID in AEP SDK


Level 3

Hi Fellas,


I'm migrating SDK from 4.x to AEP SDK.

While implementing the configuration we have tried to fetch the ECID, but the method for fetching  is not working.

We have tried below methods .




Please help to suggest the correct method for fetching the ECID into sdk.








3 Replies


Employee Advisor

I would suggest checking the dependencies. Also, see if Identity is correctly initialized.

HI @Khurshid_Alam  ,


Thanks for your reply.


We have checked the dependencies and checked whether the identity is correctly initialized.

There is no problem with that.

Can you please confirm whether we used the correct method?

Do we have any alternative approach to get the MCID value while user opens the app?





Employee Advisor

The method is correct. Though, it would be more helpful to look at the code. I would suggest reaching out to Customer Care with debug logs so that the issue can be reviewed in detail.