cancel
Showing results for 
Search instead for 
Did you mean: 
Tonight from 11:00 PM - 12:00 AM ET we need to make a few updates to our site.
We recommend finishing up your work before 11:00 PM and logging in after 12:00 AM.
Thank you for your patience while we make these important updates.

(500) Internal Server Error

SOLVED
Highlighted
Occasional Contributor

(500) Internal Server Error

I have been using Constant Contact API for some time and it has been working fine. All of a sudden I am getting: "The remote server returned an error: (500) Internal Server Error." Nothing in my code has changed. I am using the libraries for .NET, and the error occurs at the 'finally' block in Utility.cs:

 

            Stream stream = Stream.Null;
            try
            {
                // get the response stream
                stream = GetResponseStream(new Uri(currentAddress), authenticationData);

                // parse the stream and get a collection of Contacts
                return ContactComponent.GetContactCollection(stream, out nextChunkId);
            }
            catch (Exception e)
            {
                throw new ConstantException(e.Message, e);
            }
            finally
            {
                // close the response stream
                stream.Close();
            }

 

It seems that this is a problem within Constant Contact as I haven't changed anything with my Authentication Data and am just passing an email address. It occurs when I am trying to use the function Utility.SearchContactByEmail. Any help is appreciated, thanks!

26 REPLIES 26
Moderator

Re: (500) Internal Server Error

Hey Todd,

 

We experienced an issue with our API earlier today, and we restarted the service. It seems to have resolved these issues in all my testing, so let me know if you're still experiencing those same errors. Thanks!

Nick Galbraith
Support Engineer
Occasional Contributor

Re: (500) Internal Server Error

Thanks for the quick reply, Nick. I did temporarly remove the code that was calling the API, so I will readd it this afternoon and let you know if I have any issues. Thanks!

Occasional Contributor

Re: (500) Internal Server Error

Good to go!

New Member

Re: (500) Internal Server Error

How exactly do you restart the service.  I am experiencing the same 500 error message. 

Moderator

Re: (500) Internal Server Error

We restart our servers periodically when doing software updates or when we take servers in and out of our active pools and for standard maintenance.  This specific thread had to do with an issue where some of our production servers had become unresponsive back in 2012, this is not currently the case as all of our servers are up, live and healthy.  There is no way customers like yourself would be able to restart our services.

 

500 errors can come up for many reasons, especially with our v1 XML API.  Typically, it's caused by XML that is incorrectly formed or has invalid characters that can cause our XML parser to throw an unhandled exception, thus the 500 Server Error instead of a valid error message.  It's usually best for you to provide a code sample and/or your XML payload which is causing the error for us to give you more support. 

Dave Berard
Senior Product Manager, Constant Contact
New Member

Re: (500) Internal Server Error

I understand.  I actually not sure why the error is occuring.  It was working perfectly fine til just a couple days ago.  

Moderator

Re: (500) Internal Server Error

I did take a look at our service logs.  We had an issue with some of our servers from late July 23rd to early July 24th which caused a slight rise in 500 errors.  The 500 errors were intermittent and should be resolved.  Let me know if you see any more happening today.

Dave Berard
Senior Product Manager, Constant Contact

Re: (500) Internal Server Error

This is the most "recent" post I could find on this issue so I am starting here. As of 05/06/14 - I began seeing this error in the Convio Common Ground Platform hosted on the Salesforce instance. We use the plug in and do not have direct access to the code so I am not immediately able to determine if there are code errors being thrown. I contacted Common Ground and they advised the error is in Constact Contact. Any thoughts as to what is occuring?

 

Screenshots attached.  


CC server error.JPG
Moderator

Re: (500) Internal Server Error

We would need to work with Convio development team to troubleshoot this.  Without knowing what the call was, will be hard to track this down and get more information.  Any chance you can open a ticket with them and connect us with their team?  Our direct email address for API support is apisupport@constantcontact.com.

Dave Berard
Senior Product Manager, Constant Contact