Assurance - can no longer use without Assurance SDK? | Community
Skip to main content
williamh3207805
Level 2
January 17, 2024
Solved

Assurance - can no longer use without Assurance SDK?

  • January 17, 2024
  • 2 replies
  • 1741 views

Hello,
I am using cURL to test sending calls to the Adobe Edge Network server API.  In the past, I have been able to use Assurance to generate a "debug session id" that allowed me to send requests from cURL through Assurance. 
However, it now seems that Assurance now requires that you set up an app with the Assurance SDK first: https://experienceleague.adobe.com/docs/experience-platform/assurance/view/event-transactions.html?lang=en
When I create a session, I can generate a "adb_validation_sessionid", but when I attach the ID to cURL requests events don't show up in the session.

Am I no longer able to use Assurance with simple cURL requests/outside of the SDK?

Any input appreciated.  Thank you.

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 dwright-adobe

@williamh3207805 , here is another suggestion "You could create an assurance session, get the validation token from the “copy link” button to start the session, then find a way to either add a adobeAepValidationToken=<token> query param to the outgoing api calls or a X-Adobe-AEP-Validation-Token header with the token as the header value."

Please let me know if this works for you.

2 replies

Adobe Employee
January 18, 2024

Hi @williamh3207805 ,

It's not correct that you need to set up an app with the Assurance SDK. For example, we use Assurance all the time with Web SDK implementations (which don't require implementing any Assurance SDK). With Web SDK, we can initiate the Assurance session from within the Experience Platform Debugger. This documentation just currently has an assumption that Assurance is for mobile app implementations and not all Edge implementations. Unfortunately, I am not sure of the process to initiate a session using the Server API, but I will see what I can find out and will share here. I'll also open a ticket for the documentation team.

dwright-adobeAdobe EmployeeAccepted solution
Adobe Employee
January 18, 2024

@williamh3207805 , here is another suggestion "You could create an assurance session, get the validation token from the “copy link” button to start the session, then find a way to either add a adobeAepValidationToken=<token> query param to the outgoing api calls or a X-Adobe-AEP-Validation-Token header with the token as the header value."

Please let me know if this works for you.

williamh3207805
Level 2
January 20, 2024

Thank you! Both methods work: adding a adobeAepValidationToken parameter or the X-Adobe-AEP-Validation-Token header.
It would be great to get this added to the documentation at some point.
In any case, I have what I need for debugging - thank you again.

NimashaJain
Adobe Employee
Adobe Employee
January 19, 2024

@williamh3207805 Did you find the suggested solutions helpful? It would be great if you can  mark the answer as correct for posterity. If you have found out solution yourself, share it with wider audience in the community.