error
field returned is not empty, but instead includes an error code, error description, and other necessary debugging information to help developers quickly fix any issues. Error codes (outlined in the returned error
field) include those returned by the client and those returned by the server.NSURLError.h
in Foundation
framework or see Apple's official documentation.Error Code | Error Message | Error Description |
10000 | InvalidArgument | Invalid parameter |
10001 | InvalidCredentials | Invalid certificate |
10004 | UnsupportOperation | Unsupported operation |
20001 | InvalidArgument | Invalid data returned by the server |
20004 | PoorNetwork | A verification for data integrity failed. |
30000 | UserCancelled | The user has canceled the request. |
30002 | AlreadyFinished | The job has already finished. |
RequestId
returned by the exception by following directions in Obtaining RequestId.RequestId
and click Diagnose.Wait and view the diagnostic result.
Was this page helpful?