Created
December 3, 2011 22:50
-
-
Save dburkes/1428406 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
***** REQUEST: https://login.salesforce.com//services/oauth2/token?grant_type=password&client_id=xxx&client_secret=yyy&username=zzz&password=ppp | |
***** RESPONSE: Net::HTTPOK -> {"id":"https://login.salesforce.com/id/00DU0000000JvPWMA0/005U0000000ZZGoIAO","issued_at":"1322951588640","instance_url":"https://momentum-custom-6841.database.com","signature":"sss","access_token":"ttt"} | |
***** REQUEST: https://momentum-custom-6841.database.com/services/data/v23.0/sobjects/Participant__c/a05U0000000XGdvIAG | |
***** RESPONSE: Net::HTTPOK -> {"attributes":{"type":"Participant__c","url":"/services/data/v23.0/sobjects/Participant__c/a05U0000000XGdvIAG"},"Id":"a05U0000000XGdvIAG","OwnerId":"005U0000000ZZGoIAO","IsDeleted":false,"Name":"Raymond Gao","CreatedDate":"2011-11-30T16:58:54.000+0000","CreatedById":"005U0000000ZZGoIAO","LastModifiedDate":"2011-12-03T19:45:27.000+0000","LastModifiedById":"005U0000000ZZGoIAO","SystemModstamp":"2011-12-03T19:45:27.000+0000","Email__c":"raygao@are4.us","Date_of_Birth__c":"1972-10-10","Gender__c":"male","ProgramStartDate__c":"1972-10-10","ExpectedEndDate__c":"1972-10-10","Age__c":39.0,"Last_Name__c":"james","First_Name__c":"pit"} | |
---1972-10-10 | |
---male | |
---2001-10-10 | |
---1972-10-10 | |
---james | |
---pit | |
***** REQUEST: https://momentum-custom-6841.database.com/services/data/v23.0/sobjects/Participant__c/a05U0000000XGdvIAG => {"OwnerId":"005U0000000ZZGoIAO","Email__c":"raygao@are4.us","Date_of_Birth__c":"1972-10-10","Gender__c":"male","ProgramStartDate__c":"2001-10-10","ExpectedEndDate__c":"1972-10-10","Last_Name__c":"james","First_Name__c":"pit"} | |
***** RESPONSE: Net::HTTPBadRequest -> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
</head> | |
<body> | |
<center> | |
<table bgcolor="white" style="align: center;"> | |
<tbody> | |
<tr><td><br><br></td></tr> | |
<tr> | |
<td> | |
<table bgcolor="white" cellpadding="0" cellspacing="0" style="border:1px solid #ccc;" width="758"> | |
<tbody> | |
<tr><td><br></td></tr> | |
<tr> | |
<td> | |
<div style="background-color: white; border: 1px solid #ccc; padding: 0px; margin-top: 10px; margin-bottom: 0px; margin-left: 10px; margin-right: 10px;"> | |
<table bgcolor="white" cellpadding="0" cellspacing="0" width="758"> | |
<tbody> | |
<tr> | |
<td><span style="font-family: Verdana; font-size: medium; font-weight: bold;">We are down for maintenance.</span><br><br>Sorry for the inconvenience. We'll be back shortly.</td> | |
</tr> | |
</tbody> | |
</table> | |
</div> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<span> | |
<table border="0" cellpadding="0" cellspacing="0" style="text-align: right;" width="100%"> | |
<tbody> | |
<tr> | |
<td> | |
<span> | |
<span style="font-family: Verdana; font-size: smaller">Powered by <a href="http://force.com">force.com</a></span> | |
</span> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
</span> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
</td> | |
</tr> | |
<tr><td><br></td></tr> | |
<tr><td></td></tr> | |
<tr><td><br></td></tr> | |
</tbody> | |
</table> | |
</center> | |
<!-- Served by force.com --> | |
</body> | |
</html> | |
<!-- Generated Sat, 03 Dec 2011 22:33:31 GMT by proxy2 (squid/2.7.STABLE9) --> | |
Started PUT "/participants/a05U0000000XGdvIAG" for 127.0.0.1 at 2011-12-03 16:33:08 -0600 | |
Processing by ParticipantsController#update as HTML | |
Parameters: {"utf8"=>"‚úì", "authenticity_token"=>"FYD8UR0BK7jm7ehFzY2NXedBT0Pz17GVeHBFbrRUjxU=", "participant__c"=>{"Date_of_Birth__c"=>"1972-10-10", "Gender__c"=>"male", "ProgramStartDate__c"=>"2001-10-10", "ExpectedEndDate__c"=>"1972-10-10", "Last_Name__c"=>"james", "First_Name__c"=>"pit"}, "commit"=>"Update Participant c", "id"=>"a05U0000000XGdvIAG"} | |
Completed 500 Internal Server Error in 23291ms | |
Databasedotcom::SalesForceError (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
</head> | |
<body> | |
<center> | |
<table bgcolor="white" style="align: center;"> | |
<tbody> | |
<tr><td><br><br></td></tr> | |
<tr> | |
<td> | |
<table bgcolor="white" cellpadding="0" cellspacing="0" style="border:1px solid #ccc;" width="758"> | |
<tbody> | |
<tr><td><br></td></tr> | |
<tr> | |
<td> | |
<div style="background-color: white; border: 1px solid #ccc; padding: 0px; margin-top: 10px; margin-bottom: 0px; margin-left: 10px; margin-right: 10px;"> | |
<table bgcolor="white" cellpadding="0" cellspacing="0" width="758"> | |
<tbody> | |
<tr> | |
<td><span style="font-family: Verdana; font-size: medium; font-weight: bold;">We are down for maintenance.</span><br><br>Sorry for the inconvenience. We'll be back shortly.</td> | |
</tr> | |
</tbody> | |
</table> | |
</div> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<span> | |
<table border="0" cellpadding="0" cellspacing="0" style="text-align: right;" width="100%"> | |
<tbody> | |
<tr> | |
<td> | |
<span> | |
<span style="font-family: Verdana; font-size: smaller">Powered by <a href="http://force.com">force.com</a></span> | |
</span> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
</span> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
</td> | |
</tr> | |
<tr><td><br></td></tr> | |
<tr><td></td></tr> | |
<tr><td><br></td></tr> | |
</tbody> | |
</table> | |
</center> | |
<!-- Served by force.com --> | |
</body> | |
</html> | |
<!-- Generated Sat, 03 Dec 2011 22:33:31 GMT by proxy2 (squid/2.7.STABLE9) --> | |
): | |
app/controllers/participants_controller.rb:86:in `update' | |
Rendered /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms) | |
Rendered /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms) | |
Rendered /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.7ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment