Expand my Community achievements bar.

Ask our product team on how to best grow your experimentation and personalization strategies with Target during our AMA on May 6th!

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Profile Fetch in Real-time

Avatar

Level 2

Hi all, has anyone used Profile Fetch API (https://www.adobe.io/products/target/docs/reference/profiles/profile-fetch) to programatically fetch all attributes set against a user-profile? I am using following address currently for the purpose

http://<client-server-domain>/rest/v1/profiles/<pcId>?client=<clientCode>

This doesn't fetch profile attributes in real-time i.e. if I clear my cookies, load my page and run this API, I get 404 - no profile found message. However, if I run it after some time (around 30 minutes later), it returns all profile attributes in JSON format.

I was wondering whether there is any way (new version of this API or passing any specific parameter etc.) which can enable me fetch profile-attributes as soon as its updated on the server? Any help will be much appreciated - thanks

Regards,

Rajneesh

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi Rajneesh,

Yes, the Profile Fetch API does not currently supply a real-time view of a visitor's profile. It is about 30 minutes latent as you've mentioned. To view a real-time view of a visitors profile attributes you should use the mboxTrace feature. You can find the details on this help doc: https://marketing.adobe.com/resources/help/en_US/target/target/c_content_trouble.html

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

Hi Rajneesh,

Yes, the Profile Fetch API does not currently supply a real-time view of a visitor's profile. It is about 30 minutes latent as you've mentioned. To view a real-time view of a visitors profile attributes you should use the mboxTrace feature. You can find the details on this help doc: https://marketing.adobe.com/resources/help/en_US/target/target/c_content_trouble.html

Avatar

Level 2

Hi Adobe team, thanks for your response. To try fetching data using mboxtrace, I tried to get authentication token but got following error: 

The requested URL "/rest/v1/authentication/token" was not found on this server. That's all we know.

Can you please suggest whats wrong here? thanks,

 

Regards,

Rajneesh