-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACNA-696 - campaignStandardCoreAPI.sendTransactionalEvent does not identify event to trigger #59
Comments
Hi @DiptimanBadajena , Thank you for raising the issue. Could I ask you to confirm wether you experience the same behavior by cURLing the API directly or not? Note aside: you could update the CLI to its latest 3.1.0 version ( cc @shazron |
Hi, in addition to the |
Hello Meryll & Shazron, |
Thanks for the update @DiptimanBadajena. We'll then have a deeper look at the SDK on our side and debug the function. |
I have run into same issue however i realized that in my case transactionalAPi value is not exactly In above example we will receive the error if the organization/tenant is provided as anything else than 'adobedemoinstance' One workaround could be passing a separate parameter orgId which can be different that organization or same based on tenant setup. Below changes triggers the event successfully for me. sendTransactionalEvent (eventId, orgId, eventBody) {
} |
@ashish84120 I'm not sure I follow. The spec at https://docs.adobe.com/content/help/en/campaign-standard/using/working-with-apis/managing-transactional-messages.html says that the endpoint is essentially the form of:
Is there something in the docs regarding this? |
I'm confirming with someone on the Campaign Standard team regarding the usage vs the docs. But based on what I've seen so far (pending the Campaign Standard team's confirmation), we will deprecate the existing function: |
PR #73 |
@meryllblanchet I think |
Good point @shazron, I'll create a separate issue and assign to you. |
While using the Campaign Standard libraries, using
sendTransactionalEvent(eventId, eventBody)
does not identify the transactional event.Expected Behaviour
sendTransactionalEvent(eventId, eventBody)
library method should trigger the transactional event in Adobe Campaign Standard, resulting in message sent to target.Actual Behaviour
sendTransactionalEvent(eventId, eventBody)
library method fails to recognise the transactional event defined in Adobe Campaign Standard.Reproduce Scenario (including but not limited to)
Steps to Reproduce
Define transactional event and related message (Email) for the event and publish.
Click on the "API preview" to fetch
eventId
.For example, the transactional event published in one of the instance
https://mc.adobe.io/<ORGANIZATION>/campaign/mcadobedemoinstance/EVT_Order_Approval
Nodesjs:
Error message:
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem
The text was updated successfully, but these errors were encountered: