404 Not Found error when getting a collection of V2 and V3 API List ID

ClaudiaC14
Campaign Contributor
0 Votes

 

The API /contact_lists/list_id_xrefs to migrate contact list records returns a 404 Not Found error.

The role of the user I use is "Account Owner" and the Access Token has the correct scope contact_data. I followed the API documentation: https://developer.constantcontact.com/api_reference/index.html#!/Contact_Lists/getListIdXrefs

Request:

 

https://api.cc.email/v3/contact_lists/lists_id_xrefs?sequence_ids=12345,456789

 

Response:

 

[
    {
        "error_key": "contacts.api.not_found",
        "error_message": "We could not find the resource you are looking for (or the query parameters are not correct)."
    }
]

 

 

It is weird because other v3 endpoints like the GET /contact_list work well.

 

Am I missing something? Is there something else I should set up in my Constant Contact Account?  

 

1 REPLY 1
John__B
Employee
0 Votes

Hello ClaudiaC14,

 

Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.

 

It looks like we've already followed up with you directly via email, but here is the information provided for visibility on the forum:

 

I’ve reviewed your request and found that the reason for the 404 response is that there is a typo in the request URL. 

 

In your request, the URL is formatted as follows: “https://api.cc.email/v3/contact_lists/lists_id_xrefs”

 

Our system is expecting this URL to be formatted as follows: “https://api.cc.email/v3/contact_lists/list_id_xrefs”

 

There is an additional “s” in the “list_id_xrefs” portion of the URL. Removing this extra character should allow your request to be successful.



Please have a look and let us know if you have any other questions!

 

Regards,


John B.
API Support Specialist
Did I answer your question? If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
Resources
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up