iOS SDK Version

FBSDKCoreError

enumFBSDKCoreError{}
FBSDKCoreError Error codes for FBSDKErrorDomain.
  • Reserved.

    Declaration

    Objective-C
    FBSDKErrorReserved=0
    Swift
    caseerrorReserved=0
  • The error code for errors from invalid encryption on incoming encryption URLs.

    Declaration

    Objective-C
    FBSDKErrorEncryption
    Swift
    caseerrorEncryption=1
  • The error code for errors from invalid arguments to SDK methods.

    Declaration

    Objective-C
    FBSDKErrorInvalidArgument
    Swift
    caseerrorInvalidArgument=2
  • The error code for unknown errors.

    Declaration

    Objective-C
    FBSDKErrorUnknown
    Swift
    caseerrorUnknown=3
  • A request failed due to a network error. Use NSUnderlyingErrorKey to retrieve the error object from the NSURLSession for more information.

    Declaration

    Objective-C
    FBSDKErrorNetwork
    Swift
    caseerrorNetwork=4
  • The error code for errors encountered during an App Events flush.

    Declaration

    Objective-C
    FBSDKErrorAppEventsFlush
    Swift
    caseerrorAppEventsFlush=5
  • An endpoint that returns a binary response was used with FBSDKGraphRequestConnection.
    Endpoints that return image/jpg, etc. should be accessed using NSURLRequest

    Declaration

    Objective-C
    FBSDKErrorGraphRequestNonTextMimeTypeReturned
    Swift
    caseerrorGraphRequestNonTextMimeTypeReturned=6
  • The operation failed because the server returned an unexpected response.
    You can get this error if you are not using the most recent SDK, or you are accessing a version of the Graph API incompatible with the current SDK.

    Declaration

    Objective-C
    FBSDKErrorGraphRequestProtocolMismatch
    Swift
    caseerrorGraphRequestProtocolMismatch=7
  • The Graph API returned an error.
    See below for useful userInfo keys (beginning with FBSDKGraphRequestError*)

    Declaration

    Objective-C
    FBSDKErrorGraphRequestGraphAPI
    Swift
    caseerrorGraphRequestGraphAPI=8
  • The specified dialog configuration is not available.
    This error may signify that the configuration for the dialogs has not yet been downloaded from the server or that the dialog is unavailable. Subsequent attempts to use the dialog may succeed as the configuration is loaded.

    Declaration

    Objective-C
    FBSDKErrorDialogUnavailable
    Swift
    caseerrorDialogUnavailable=9
  • Indicates an operation failed because a required access token was not found.

    Declaration

    Objective-C
    FBSDKErrorAccessTokenRequired
    Swift
    caseerrorAccessTokenRequired=10
  • Indicates an app switch (typically for a dialog) failed because the destination app is out of date.

    Declaration

    Objective-C
    FBSDKErrorAppVersionUnsupported
    Swift
    caseerrorAppVersionUnsupported=11
  • Indicates an app switch to the browser (typically for a dialog) failed.

    Declaration

    Objective-C
    FBSDKErrorBrowserUnavailable
    Swift
    caseerrorBrowserUnavailable=12
  • Indicates that a bridge api interaction was interrupted.

    Declaration

    Objective-C
    FBSDKErrorBridgeAPIInterruption
    Swift
    caseerrorBridgeAPIInterruption=13