I'm following the tutorial given by AI School on the sketch2code app (link: https://aischool.microsoft.com/en-us/services/learning-paths/sketch2code/sketch2code-lab/train-an-object-detection-model)
I have pasted my training key into the program.cs file as instructed, and when i run the "dotnet run" command, it gives me the following error:
Unhandled Exception: Microsoft.Rest.HttpOperationException: Operation returned an invalid status code 'Unauthorized' at Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.TrainingApi.GetDomainsWithHttpMessagesAsync(Dictionary`2 customHeaders, CancellationToken cancellationToken) at Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.TrainingApiExtensions.GetDomainsAsync(ITrainingApi operations, CancellationToken cancellationToken) at Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.TrainingApiExtensions.GetDomains(ITrainingApi operations) at Import.Program.Main(String[] args) in C:\Users\DELL_PC\Desktop\BE Project\AISchoolTutorials\sketch2code\Import\Program.cs:line 29
Any help on this?