This is a possible duplicate of Issue 25.
I am running a Retrieve operation for a single record, but the request returns no results. I am using the block methods for Retrieve and the success block is called with a nil Dictionary (I would have expected the fail block to be called).
The only explanation I can think of is that there are many, many fields in this retrieve request. A retrieve in the same org, with the same user, in the same session, but on a different record (with fewer fields) is successful.
2012-02-22 12:54:23.372 Salesforce[39605:40b] SFRestAPI::send:delegate: [<SFRestRequest> method: GET, path: /v24.0/sobjects/Installation_Project__c/a15D0000000U4n7IAC, queryParams: {"fields":"Who_SI__r.Name,Who_SI__r.mobilephone,Who_IW__r.currentstatus,Who_CC__r.phone,Who_RC__r.currentstatus,Who_RC__r.Name,Who_Check_Order__r.Name,Who_CS__r.phone,Who_Con__r.smallphotourl,Who_WP__c,Who_AS__c,Who_CD__r.phone,Who_LO__r.state,Customer_Satisfaction_Call__c,LastModifiedBy.smallphotourl,Who_WP__r.currentstatus,Who_PL__r.email,Who_AS__r.title,Due_Date_AS__c,Who_Di__r.mobilephone,CreatedDate,Who_CB__r.mobilephone,LastModifiedBy.email,Who_SS__r.smallphotourl,Who_PM__c,Who_WP__r.department,Who_PM__r.email,Who_RC__c,Who_Di__r.smallphotourl,Due_Date_CQ__c,Project_Owner__r.department,Project_Owner__r.mobilephone,Project_Owner__r.phone,Who_PL__r.smallphotourl,Cmt_Check_Order__c,Planned_Install_Date__c,Who_PL__r.Name,Who_RC__r.email,Project_Owner__r.Name,Project_Issue__c,Actual_Install_Days_manual__c,Who_WP__r.city,Due_Date_LO__c,Who_CC__r.smallphotourl,Who_TR__r.title,Who_PL__r.state,Oppty_Status__c,Who_CQ__c,Who_SS__r.phone,Who_Check_Order__r.state,Comment_DP__c,Who_TR__r.fullphotourl,Comment_Install_days_LATE_reason__c,Who_Check_Order__r.mobilephone,Start_Date__c,Who_PM__r.state,Who_DP__r.phone,Project_Owner__r.state,LastModifiedBy.fullphotourl,CreatedBy.city,Project_Owner__r.fullphotourl,Who_WP__r.Name,Who_CC__r.fullphotourl,Who_SI__r.department,Transport__c,Who_PC__r.phone,Who_Con__r.city,Who_RC__r.state,Who_SC__r.currentstatus,CreatedBy.fullphotourl,Who_DP__r.aboutme,Who_Di__r.email,Deposit_invoiced_paid__c,Who_Con__r.Name,Who_CQ__r.currentstatus,Opportunity__r.RecordTypeId,Generate_pre_activities__c,Comment_LO__c,Project_Owner__r.email,CreatedBy.Name,Who_SI__r.title,Who_SS__r.mobilephone,Who_WP__r.phone,Generate_After_Activities__c,Who_CS__r.smallphotourl,Who_Di__c,Who_TR__r.department,Who_CD__r.department,Who_CB__r.state,Who_IW__r.aboutme,Who_CB__r.department,LastModifiedBy.city,Who_Di__r.state,Who_AS__r.fullphotourl,Account_Name__c,Who_SC__r.mobilephone,CreatedById,LastModifiedBy.state,Comment_PC__c,Who_SS__r.aboutme,Who_SS__r.currentstatus,Who_Con__r.title,Arrange_Site_Visit__c,Who_CB__r.city,LastModifiedBy.phone,Who_WP__r.fullphotourl,CreatedBy.phone,Who_PM__r.department,Who_CQ__r.email,Who_WP__r.aboutme,Who_IW__r.phone,Who_CS__r.department,Who_Con__r.email,Who_PL__r.currentstatus,Who_PL__r.aboutme,Who_CQ__r.department,Who_CC__r.currentstatus,Who_CB__r.email,Who_LO__r.smallphotourl,Who_CB__r.Name,Who_RA__r.title,Who_CQ__r.mobilephone,Load_Oracle_Order__c,Who_Check_Order__r.phone,Who_CD__c,Who_CS__r.fullphotourl,Who_SC__c,PM_Sign_off__c,Project_Owner__r.currentstatus,Who_CC__r.email,Who_CS__r.email,Who_PL__c,Who_SC__r.department,Who_CD__r.city,LastModifiedBy.mobilephone,Who_RA__r.mobilephone,Who_CQ__r.fullphotourl,Who_CD__r.email,Who_CQ__r.state,Opportunity__r.Name,Who_SS__c,Who_LO__r.title,Comment_SI__c,Opportunity__c,Internal_Work_Order__c,Who_Con__r.department,Who_CD__r.Name,Who_CC__r.state,Who_AS__r.phone,Id,Who_PM__r.aboutme,Who_Con__c,Who_CS__r.state,Who_AS__r.department,Comment_Con__c,Who_CS__r.currentstatus,Generate_Internal_Sales_Activities__c,Who_CD__r.state,Who_LO__r.aboutme,Who_LO__r.fullphotourl,Who_Con__r.aboutme,Who_Di__r.currentstatus,Who_DP__r.smallphotourl,Who_TR__r.phone,Who_Di__r.department,Who_IW__r.mobilephone,Who_RA__r.fullphotourl,Comment_IW__c,Who_SC__r.email,Who_SC__r.fullphotourl,Due_Date_SC__c,Who_SS__r.email,Who_PL__r.title,Planned_Install_days_manual__c,Who_DP__r.email,Who_IW__r.fullphotourl,LastModifiedBy.department,Who_Di__r.aboutme,Who_PM__r.title,Who_IW__r.city,Installation_Project_No__c,Who_PC__r.fullphotourl,LastModifiedBy.currentstatus,Schedule_Installation__c,Who_PC__r.email,Completes_Site_Survey__c,Who_SC__r.city,LastModifiedDate,Project_Outline__c,Who_RC__r.title,Who_SC__r.state,Project_Age__c,Who_LO__r.mobilephone,Who_SS__r.state,Who_LO__r.currentstatus,Due_Date_CD__c,Who_Check_Order__r.smallphotourl,Due_Date_WP__c,Who_IW__r.Name,Comment_WP__c,Who_DP__r.state,Who_Check_Order__r.title,Who_CB__r.smallphotourl,Who_WP__r.email,Who_SC__r.aboutme,Project_Owner__r.aboutme,Who_RC__r.department,Who_SI__r.phone,Who_SC__r.Name,CreatedBy.department,Who_PC__r.smallphotourl,Generate_Install_Activities__c,End_Date__c,Who_RA__r.department,Who_PC__r.state,Check_delivery_Status__c,Who_AS__r.mobilephone,Who_RC__r.fullphotourl,Who_Di__r.fullphotourl,Purchse_Local_Parts__c,Who_LO__r.city,Who_CB__r.title,DD_Check_order__c,Who_TR__r.city,Check_Order__c,Who_Di__r.title,Due_Date_IW__c,Who_Check_Order__r.aboutme,Not_SF_listed_Customer_members__c,Who_IW__r.department,Who_PC__r.mobilephone,Due_Date_CC__c,Who_CC__c,Comment_RC__c,Who_WP__r.state,Who_PM__r.fullphotourl,Who_LO__r.Name,Who_SS__r.fullphotourl,Who_SS__r.city,CreatedBy.email,Who_Con__r.state,Welcome_Pack__c,Who_TR__r.Name,Who_CQ__r.aboutme,Who_IW__r.email,Who_RA__c,LastModifiedBy.title,Comment_DI__c,Who_LO__r.department,Who_PM__r.city,Who_DP__c,Who_SI__r.fullphotourl,Active__c,Who_Check_Order__r.city,Who_CS__c,Who_PC__r.department,Who_RA__r.smallphotourl,Who_WP__r.mobilephone,Comment_AS__c,Who_TR__r.smallphotourl,Who_RA__r.phone,Who_SS__r.Name,Who_DP__r.mobilephone,Who_PM__r.mobilephone,Who_PC__c,Due_Date_RC__c,Comment_RA__c,Due_Date_CB__c,Who_CD__r.fullphotourl,Who_PM__r.Name,CreatedBy.state,Who_IW__r.state,Actual_Install_End_Date__c,Cross_Border__c,Who_CD__r.mobilephone,Who_CQ__r.title,Who_TR__r.mobilephone,Who_LO__c,Name,Due_Date_SS__c,Who_RC__r.phone,Who_DP__r.city,Comment_CC__c,Who_CB__r.fullphotourl,Who_LO__r.phone,Project_Owner__r.smallphotourl,Planned_End_Date__c,Due_Date_TR__c,Who_AS__r.email,Who_DP__r.department,Who_AS__r.aboutme,Who_CB__r.currentstatus,Who_CC__r.title,Who_Con__r.fullphotourl,Comment_CD__c,Who_CS__r.title,Who_CQ__r.city,Who_Check_Order__r.currentstatus,Who_PC__r.currentstatus,Who_TR__r.aboutme,Who_DP__r.Name,Who_PM__r.smallphotourl,Who_CD__r.title,Who_Con__r.currentstatus,Who_CD__r.smallphotourl,Comment_SC__c,On_Hold_reason__c,Due_Date_Con__c,Who_Con__r.phone,Due_Date_PM__c,Who_DP__r.currentstatus,Who_TR__r.email,LastModifiedBy.aboutme,Who_AS__r.state,Comment_PM__c,Who_CQ__r.Name,Resource_line_cost__c,Who_SI__r.smallphotourl,Who_Check_Order__r.fullphotourl,Who_PL__r.phone,Who_DP__r.fullphotourl,Not_SF_listed_Domino_Members__c,Who_AS__r.smallphotourl,Credit_Check__c,Due_Date_DI__c,Who_CS__r.aboutme,Who_SI__c,Who_AS__r.city,Recieve_Confirmation__c,Comment_CB__c,Who_Check_Order__r.email,Who_Check_Order__c,Who_SI__r.aboutme,Who_PM__r.phone,Due_Date_RA__c,CreatedBy.smallphotourl,LastModifiedById,Who_TR__r.state,Who_CC__r.department,Who_RA__r.aboutme,Who_CC__r.mobilephone,Who_CC__r.city,Due_Date_CS__c,Who_RA__r.currentstatus,Project_Owner__c,Who_SC__r.title,Who_SS__r.title,Who_TR__r.currentstatus,Project_Owner__r.title,Who_AS__r.Name,Who_CB__c,Who_DP__r.title,Who_SI__r.email,Who_IW__r.smallphotourl,Who_SS__r.department,Who_RC__r.smallphotourl,Application_line_cost__c,Comment_cQ__c,Who_TR__c,Confirmation__c,Due_Date_SI__c,Who_PC__r.city,Who_CC__r.Name,Comment_SS__c,Who_PC__r.title,Comment_PL__c,Who_PL__r.department,Status__c,Who_CB__r.phone,Who_CQ__r.smallphotourl,Project_Completed__c,Who_Di__r.city,Who_Di__r.phone,Who_WP__r.smallphotourl,Who_SI__r.state,Who_PC__r.Name,Project_Owner__r.city,Who_CC__r.aboutme,Who_WP__r.title,Who_CS__r.mobilephone,Who_PM__r.currentstatus,Who_Check_Order__r.department,Who_PC__r.aboutme,CreatedBy.mobilephone,Due_Date_PC__c,Who_RA__r.city,Who_PL__r.mobilephone,Who_CD__r.currentstatus,Who_CS__r.city,LastModifiedBy.Name,Who_Di__r.Name,Actual_Install_Date__c,Who_Con__r.mobilephone,Who_RC__r.mobilephone,Planned_End_Date2__c,Opportunity__r.Id,Who_PL__r.city,Comment_CS__c,Who_RA__r.email,Who_CB__r.aboutme,Who_SI__r.currentstatus,CreatedBy.aboutme,Who_IW__c,Due_Date_PL__c,Who_RA__r.Name,Deposit_invoiced_raised__c,Who_AS__r.currentstatus,Who_CS__r.Name,Who_PL__r.fullphotourl,Who_SI__r.city,CreatedBy.title,Due_Date_DP__c,Request_Application_information_from_Sal__c,Check_Supplier__c,Comment_TR__c,Who_IW__r.title,CreatedBy.currentstatus,Who_RC__r.city,Who_RC__r.aboutme,Who_CD__r.aboutme,Who_CQ__r.phone,Check_Quote__c,Who_LO__r.email,Who_SC__r.smallphotourl,Who_SC__r.phone,Who_RA__r.state,Install_days_LATE_reason__c"}]