Enter the Share Your Success Sweepstakes 2024 For the Chance to Win Great Prizes!

Meaning of Status Codes 201, 400, 401, 403, 409, 500, 503

SOLVED
Go to solution
user8038334
Campaign Collaborator
0 Votes

This is a follow-up to my previous post "Meaning of Status Code 201". Can you please provide the definitions for status codes 201, 400, 401, 403, 409, 500, and 503? Thanks!

 

Moderators: Assuming you work for Constant Contact, can you please contact the API programmers at Constant Contact and ask them for a list of the Status Codes and their meanings? Then, please copy & paste the codes and definitions in your reply to this post. Thanks again! 

 

My company's app is throwing a 201 status code when attempting to send emails and I have not figured out what needs to be done to resolve this issue. The app does the following:

  • Adds a person as a contact based on their email address. The contact must be subscribed to Constant Contact.
  • Creates a new contact list.
  • Adds contacts to the list.
  • Adds the campaign.
  • Adds the contact list to the campaign.
  • Schedules the campaign to be sent.

I found definitions of some of the error codes in Constant Contacts documents, but I have not found a definition for 201. 

 

At my company, we have alias codes, error codes, notification codes, etc. stored in database tables with their definitions, which we can export to Excel and distribute to our business community. I am assuming that the Application Development department at Constant Contact implements similar practices.

 

For clarification, in my previous post, the excerpt of the C# code from the Client.cs was generated using an app called NSwag, which generates API client code in C#, by my company. It is not code from Constant Contact.

2 ACCEPTED SOLUTIONS
user8038334
Campaign Collaborator
0 Votes
200 Request successful.
201 Request successful and a new resource created.
400 Server could not process a request because of a client error.
  • Malformed request syntax
  • Invalid request message framing
  • Deceptive request routing
  • Invalid URL
  • Request size too large
401 The Access Token used is invalid.
403 Forbidden request. Our server understood a request but refused to process it. This error can occur for several reasons, including
  • Insufficient permissions: The user's credentials may not grant them the required privileges to access the resource.
  • IP blacklisting: Some websites restrict access based on IP addresses.
  • Malformed request: The client's request may be malformed, such as providing an unsupported parameter or repeating the same parameter multiple times.
  • Your application is deactivated.
409 Request cannot be completed because of a conflict with the current state of the resource.
500 Our internal server encountered an unexpected condition that prevented it from fulfilling the request.
503 Our internal service is temporarily unavailable and currently unable to handle incoming requests.

View solution in original post

Courtney_E
Moderator
0 Votes

Hello user8038334,

 

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.

 

You can view a list of API response codes here:

 

Response Codes

https://v3.developer.constantcontact.com/api_guide/glossary_responses.html

 

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


Regards,

Courtney E.
Tier II API Support Engineer

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.

View solution in original post

2 REPLIES 2
user8038334
Campaign Collaborator
0 Votes
200 Request successful.
201 Request successful and a new resource created.
400 Server could not process a request because of a client error.
  • Malformed request syntax
  • Invalid request message framing
  • Deceptive request routing
  • Invalid URL
  • Request size too large
401 The Access Token used is invalid.
403 Forbidden request. Our server understood a request but refused to process it. This error can occur for several reasons, including
  • Insufficient permissions: The user's credentials may not grant them the required privileges to access the resource.
  • IP blacklisting: Some websites restrict access based on IP addresses.
  • Malformed request: The client's request may be malformed, such as providing an unsupported parameter or repeating the same parameter multiple times.
  • Your application is deactivated.
409 Request cannot be completed because of a conflict with the current state of the resource.
500 Our internal server encountered an unexpected condition that prevented it from fulfilling the request.
503 Our internal service is temporarily unavailable and currently unable to handle incoming requests.
Courtney_E
Moderator
0 Votes

Hello user8038334,

 

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.

 

You can view a list of API response codes here:

 

Response Codes

https://v3.developer.constantcontact.com/api_guide/glossary_responses.html

 

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


Regards,

Courtney E.
Tier II API Support Engineer

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