ActiveCampaign / activecampaign-api-nodejs

Node.js wrapper for the ActiveCampaign API
MIT License
39 stars 36 forks source link

Problem with connector url #35

Closed plarrea closed 7 years ago

plarrea commented 7 years ago

I have a problem with how the url is built, after I log an event with api('tracking/log'), the connector url changes to "https://trackcmp.net/event", making all the other api calls imposible to reach after that.

I keep getting this error with all calls as if i was trying to log an event: {"success":0,"message":"An account ID must be provided."}

Is there a way to reset the connector to the original url? Am I missing something?

Cheers

mthommes commented 7 years ago

Hello! We have a fix on the way for this issue (#36).

mthommes commented 7 years ago

NPM has been updated to version 1.2.4 which should fix this issue. Let us know if you still notice anything not working! 👍

DavidLopezS commented 2 years ago

Hi, I'm trying to send a request for track event endpoint "https://trackcmp.net/event" and I'm having the same issue. I'm getting the actid and key from Event Tracking page and the event name is correct. Am I missing something?

Thank you in advance!

cameronhayglass commented 2 years ago

@DavidLopezS I don't know if this is intentional but I had the same problem, and solved it by passing as URL params instead of in the body. Not claiming that's good/correct, but it worked for me.