let asset = SKYAsset(name: "profile-picture", data: UIImagePNGRepresentation(UIImage()))
asset.mimeType = "image/png"
Error message:
Error Domain=SKYOperationErrorDomain Code=9 "The data sent by the server cannot be processed." UserInfo={SKYErrorName=InvalidData, NSLocalizedDescription=The data sent by the server cannot be processed., SKYErrorMessage=Uploaded asset does not have a name associated with it.}
Swift code:
Error message: