Skip to content

Support automatic API version downgrade following OAuth flow auth. #52

Description

@SteveDCronin

Simon;

I updated my code to version 47 and got this error when trying to create a contact like so:
[sfClient create:@[newSFContact] failBlock:^(NSError err) {...} completeBlock:^(NSArrayresult) {...}];

I'm not aware of setting an 'APIVersion' anywhere... Any thoughts on what I might be doing wrong? I successfully login and get the authHost=='https://login.salesforce.com/' with a normal looking refreshToken...

failBlock Exception:Error Domain=pocketsoap.com Code=-103 "UNSUPPORTED_API_VERSION: Invalid Api version specified on URL" UserInfo={SoapFaultCode=sf:UNSUPPORTED_API_VERSION, NSLocalizedDescription=UNSUPPORTED_API_VERSION: Invalid Api version specified on URL}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions