We're sorry AsposeCloud doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.cloud

Internal error with Swift SDK

Hi! I got an internal error while trying to make requests with Swift SDK. Steps to reproduce:

  1. Auth:
    ThreeDCloudAPI.oAuthPost(grantType: grantType,
    clientId: clientID,
    clientSecret: clientSecret)
    Got accessToken successfully

  2. Trying to make any other request with SDK, for example:
    ThreeDCloudAPI.storageExists(storageName: "myStorage")

After making this request I got an error message:

**Task <C09C9E8F-844D-4566-A48B-840412419202>.<1> finished with error [-1005] Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={_kCFStreamErrorCodeKey=57, NSUnderlyingError=0x2808b7ea0 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x2825605a0 [0x20740bec8]>{length = 16, capacity = 16, bytes = 0x100201bb36d577760000000000000000}, _kCFStreamErrorCodeKey=57, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <C09C9E8F-844D-4566-A48B-840412419202>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(**

**"LocalDataTask <C09C9E8F-844D-4566-A48B-840412419202>.<1>"**

**), NSLocalizedDescription=The network connection was lost., NSErrorFailingURLStringKey=https://api.aspose.cloud/v3.0/3d/storage/def/exist, NSErrorFailingURLKey=https://api.aspose.cloud/v3.0/3d/storage/myStorage/exist, _kCFStreamErrorDomainKey=1}**

Network connection works properly. Auth also works good. Please help to solve this error.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.


You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.