Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

创建文件夹创建成功,但是代码抛异常 #36

Closed
chesongsong opened this issue Feb 2, 2024 · 0 comments · Fixed by #38
Closed

创建文件夹创建成功,但是代码抛异常 #36

chesongsong opened this issue Feb 2, 2024 · 0 comments · Fixed by #38
Assignees
Labels
bug Something isn't working
Milestone

Comments

@chesongsong
Copy link

`
func createDirOnDefaultDrive() async{
do {
let driveInfo = try await client.send(AliyunpanScope.User.GetDriveInfo())
let driveId = driveInfo.default_drive_id
let resp = try await client.send(AliyunpanScope.File.CreateFile(.init(drive_id: driveId, parent_file_id: "root", name: self.folderName,type: .folder, check_name_mode: .refuse)))
print(resp)
} catch {
print("error",error)
}
}

`

异常信息

error valueNotFound(Swift.Array, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "part_info_list", intValue: nil)], debugDescription: "Cannot get unkeyed decoding container -- found null value instead", underlyingError: nil))

@wzxha wzxha self-assigned this Feb 2, 2024
@wzxha wzxha added the bug Something isn't working label Feb 2, 2024
@wzxha wzxha added this to the v0.2 milestone Feb 2, 2024
@wzxha wzxha closed this as completed in #38 Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants