microsoft / SDCM

Surface Dev Center Manager tool to automate WHQL/Attestation submissions and Shipping Label creation for Microsoft Hardware Dev Center
MIT License
34 stars 17 forks source link

Unable to list or create a shippinglabel #64

Open Coffee-19 opened 2 weeks ago

Coffee-19 commented 2 weeks ago

Hi SDCM team, I encountered an issue while using the latest SDCM to list or create a shipping label. Here is the SDCM exception log.

List Option shippinglabel

============================================================ SurfaceDevCenterManager Exception Log Option: ListOption Section: GetShippingLabels Type: System.Text.Json.JsonException Message: The JSON value could not be converted to System.String. Path: $.value[0].publishingSpecifications.visibleToAccounts[0] | LineNumber: 0 | BytePositionInLine: 196. Inner Exception: Cannot get the value of a token type 'Number' as a string. Correlation Id: cf5b4e6f-b686-4d21-9176-bdda9cdf0158

To Reproduce SDCM -list shippinglabel -productid pid -submissionid sid -shippinglabelid slid or SDCM -create create_shippinglabel.json -productid pid -submissionid sid

Expected behavior List a shipping label information or create a shipping label on the partner center

Desktop (please complete the following information)

Ben-Carpenter commented 2 weeks ago

@Coffee-19, do you have the latest release 1.2024.911.1?

Coffee-19 commented 2 weeks ago

Hi @Ben-Carpenter, Yes, I am currently using the latest version 1.2024.911.1. It works fine when using version 1.2023.221.1.

Ben-Carpenter commented 2 weeks ago

Hi @Ben-Carpenter, Yes, I am currently using the latest version 1.2024.911.1. It works fine when using version 1.2023.221.1.

Okay, thanks for the info, we will take a look at see what we can find.