Skip to content
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

dripCampaignActivate throws and error when the recipient is added more than once #54

Closed
saulogt opened this issue Aug 14, 2021 · 1 comment

Comments

@saulogt
Copy link

saulogt commented Aug 14, 2021

The description tells pretty much everything.

The bug is because the response is a regular string that you are trying to JSON.stringify

index js — is-api 2021-08-13 17-32-21

The content of the buffer is 'Cannot activate recipient on campaign more than once.'

Client version

4.3.3

Expected behaviour

Returns the error gracefully in the callback

Actual behaviour

Throws an unhandled error

Steps to reproduce

call dripCampaignActivate twice for the same recipient

@brandond-dyspatch
Copy link
Contributor

Hello Saulo, this issue was addressed for the release of version 6.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants