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.

1 ACCEPTED SOLUTION
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

1 REPLY 1
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.
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