A 400 error is commonly due to a problem with the XML structure. In order to help accurately troubleshoot your issue we would need to see your source code. Please attach a zip file with your code and remember to remove all references to your API key, username, and password.
More information about error codes can be found here: http://developer.constantcontact.com/doc/errorCodes
Dan H
Support Engineer, Constant Contact