SkygearIO / skygear-SDK-iOS

Skygear SDK for iOS
https://skygear.io
Other
10 stars 28 forks source link

Fix unable to upload asset #100

Closed cheungpat closed 7 years ago

cheungpat commented 7 years ago

The following error could happen when uploading asset:

SkygearTest[10488:377789] error uploading asset: Error Domain=SKYOperationErrorDomain Code=108 “The server is unable to process the data.” UserInfo={arguments=(
    “content-size”
), NSErrorFailingURLKey=http://localhost:3000/asset/put, SKYErrorMessage=Missing content size or content size is invalid, SKYErrorName=InvalidArgument, SKYOperationErrorHTTPStatusCodeKey=400, NSLocalizedDescription=The server is unable to process the data.}