You need to sign in to do that
Don't have an account?
Recapify Developer
upload pdf through iOS SDK
I am trying to upload a pdf file to chatter through iOS SDK.
Getting error: 404 "the requested resource does not exist".
Error Domain=CSFNetworkErrorDomain Code=404 "The requested resource does not exist" UserInfo={NSLocalizedFailureReason=NOT_FOUND, isAuthenticationFailure=false, NSLocalizedDescription=The requested resource does not exist, action=<SFRestAPISalesforceAction: 0x7fe9eda02bf0, POST "/chatter/users/me/files" (0.00)>}
here is my request:
SFRestRequest * request = [[SFRestAPI sharedInstance] requestForUploadFile:pdfData name:nameString description:dataDescription mimeType:@"application/pdf"];
Can someone give me a clue?
Getting error: 404 "the requested resource does not exist".
Error Domain=CSFNetworkErrorDomain Code=404 "The requested resource does not exist" UserInfo={NSLocalizedFailureReason=NOT_FOUND, isAuthenticationFailure=false, NSLocalizedDescription=The requested resource does not exist, action=<SFRestAPISalesforceAction: 0x7fe9eda02bf0, POST "/chatter/users/me/files" (0.00)>}
here is my request:
SFRestRequest * request = [[SFRestAPI sharedInstance] requestForUploadFile:pdfData name:nameString description:dataDescription mimeType:@"application/pdf"];
Can someone give me a clue?