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

Bug: error with "processing" status device #260

Open
axelburks opened this issue Aug 8, 2023 · 0 comments
Open

Bug: error with "processing" status device #260

axelburks opened this issue Aug 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@axelburks
Copy link

🌎 Environment

💬 Description

error with "processing" status device

🦶 Reproduction Steps

  1. Add new device to account which have more than 10 devices.
    https://developer.apple.com/help/account/reference/device-registration-updates/
  2. run asc devices

🤔 Expected Results

show devices list

😲 Actual Results

{
"type" : "devices",
"id" : "xx",
"attributes" : {
"addedDate" : "2023-08-08T04:39:17.000+00:00",
"name" : "x-ios15.2-iphone12",
"deviceClass" : "IPHONE",
"model" : "iPhone 12",
"udid" : "xxxx",
"platform" : "IOS",
"status" : "PROCESSING"
},
"links" : {
"self" : "https://api.appstoreconnect.apple.com/v1/devices/xxx"
}
}
Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "data", intValue: nil), _JSONKey(stringValue: "Index 2", intValue: 2), CodingKeys(stringValue: "attributes", intValue: nil), CodingKeys(stringValue: "status", intValue: nil)], debugDescription: "Cannot initialize DeviceStatus from invalid String value PROCESSING", underlyingError: nil)).

🌳 Logs

Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "data", intValue: nil), _JSONKey(stringValue: "Index 2", intValue: 2), CodingKeys(stringValue: "attributes", intValue: nil), CodingKeys(stringValue: "status", intValue: nil)], debugDescription: "Cannot initialize DeviceStatus from invalid String value PROCESSING", underlyingError: nil)).

@axelburks axelburks added the bug Something isn't working label Aug 8, 2023
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

No branches or pull requests

1 participant