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

SDCM : Field not found Exception #36

Closed MTKSDCM closed 1 year ago

MTKSDCM commented 2 years ago

Create Product

  • Create JSON
  • Submit
  • PID: 14269363839993683 Create Submission
  • Create JSON
  • Submit
  • SID: 1152921505694771210 Upload File SurfaceDevCenterManager v1.0.0.1 Upload Option Fetch Submission Info initialPackage Url: https://ingestionpackagesprod1.blob.core.windows.net/ingestion/3a0a7815-4afc-4ec3-b394-c0caf46446a1?sv=2018-03-28&sr=b&sig=0u%2B1Xyy780pHn3 LlwIyPU8zaLRj%2BSr7EUzfBOSrBJwY%3D&se=2022-04-25T14:31:15Z&sp=rwl&rscd=attachment%3B filename%3Dinitial_1152921505694771210.cab Uploading Submission Package 100% Correlation Id: 988337c4-358f-4b9d-b98d-77221a68c1d2 Return: 0 (SUCCESS) Commit Submission SurfaceDevCenterManager v1.0.0.1 Commit Option Sending Commit Unhandled Exception: System.MissingFieldException: Field not found: 'Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterErrorDetails.Trace'. at SurfaceDevCenterManager.Program.DevCenterErrorDetailsDump(DevCenterErrorDetails error) at SurfaceDevCenterManager.Program.d__6.MoveNext() in C:\Users\DTMLLUAdminUser\Downloads\SDCM-main\SDCM-main\SurfaceDevCenterManager\Program.cs:lin e 417 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at SurfaceDevCenterManager.Program.Main(String[] args) in C:\Users\DTMLLUAdminUser\Downloads\SDCM-main\SDCM-main\SurfaceDevCenterManager\Program.cs:line 60 Last Command:

Unhandled Exception: System.MissingFieldException: Field not found: 'Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterErrorDetails.Trace'. at SurfaceDevCenterManager.Program.DevCenterErrorDetailsDump(DevCenterErrorDetails error) at SurfaceDevCenterManager.Program.Main(String[] args) in C:\Users\DTMLLUAdminUser\Downloads\SDCM-main\SDCM-main\SurfaceDevCenterManager\Program.cs:line 67

Wait for Submission to complete

Ben-Carpenter commented 2 years ago

@MTKSDCM, thank you for opening the issue and providing the console readout. Looks like we have two issues here. One for this project SDCM and one with the consumed package Microsoft.Devices.HardwareDevCenterManager.

We will get this looked at and keep you updated. Were you able to retry the run with success?

MTKSDCM commented 2 years ago

Yes, for some scenarios it is working without any issue, fail rate 3/10.

MTKSDCM commented 2 years ago

Create Product

  • Create JSON
  • Submit Did not find product ID SurfaceDevCenterManager v1.0.0.1 Create Option

============================================================ SurfaceDevCenterManager Exception Log Option: CreateOption Section: NewProduct Type: Microsoft.Devices.HardwareDevCenterManager.Utility.HttpRetriesExhaustedException Message: AuthorizationHandler: NULL response, unable to talk to HDC Inner Exception: Correlation Id: 9b1dce11-4c6e-4197-849a-eab7bc8ec694

Correlation Id: 9b1dce11-4c6e-4197-849a-eab7bc8ec694 Return: -1000 (PARTNER_CENTER_HTTP_EXCEPTION) -1

MTKSDCM commented 2 years ago

i am getting above error code for each submission Earlier there were failure but it was signing for some submission.

Ben-Carpenter commented 2 years ago

Create Product

  • Create JSON
  • Submit Did not find product ID SurfaceDevCenterManager v1.0.0.1 Create Option

============================================================

SurfaceDevCenterManager Exception Log Option: CreateOption Section: NewProduct Type: Microsoft.Devices.HardwareDevCenterManager.Utility.HttpRetriesExhaustedException Message: AuthorizationHandler: NULL response, unable to talk to HDC Inner Exception: Correlation Id: 9b1dce11-4c6e-4197-849a-eab7bc8ec694 Correlation Id: 9b1dce11-4c6e-4197-849a-eab7bc8ec694 Return: -1000 (PARTNER_CENTER_HTTP_EXCEPTION) -1

This is a separate issue from the System.MissingFieldException: Field not found: . Could you please open in a new issue?