🧪 Do you have the secret formula for an effective subject line? Let's hear it! Join the discussion.

Incorrect error message when trying to get contacts through API

When trying to get contacts, I get the following error message:

 

We are currently experiencing an issue with our service, please try again in a few minutes or contact Customer Support.

 

The URL used was:

https://api.cc.email/v3/contacts?limit=500&status=active&include=taggings%252Cstreet_addresses%252Clist_memberships&updated_after=2022-03-08T14%3A34%3A10.1844632Z

 

Now, the reason why it was an error was because there was an incorrect encoding for the "include" parameter values, specifically the comma should be %2C. I don't have any issue with it flagging that as an error. (Though interestingly, it used to work even though it was encoded incorrectly.)

But the error message is wrong.

 

When the same issue occurred with getting email campaigns, I got the error:

EmailCampaignActivity include has invalid values

Which is correct.

1 reply

Leaderboard