You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
Description of issue
When running the script in Azure Cloud Shell, received the follow error
PS /home/user1-30332935/ai-900> ./analyze-image.ps1 store-camera-1.jpg
Analyzing image...
Invoke-RestMethod: /home/user1-30332935/ai-900/analyze-image.ps1:21
Line |
21 | $result = Invoke-RestMethod -Method Post `
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| {"error":{"code":"404","message": "Resource not found"}}
ConvertFrom-Json: /home/user1-30332935/ai-900/analyze-image.ps1:26
Line |
26 | $analysis = $result | ConvertFrom-Json
| ~~~~~~~~~~~~~~~~
| Cannot bind argument to parameter 'InputObject' because it is null.
Description:
Objects in this image:
Tags relevant to this image:
Repro steps:
Follow the instructions in the lab.
PowerShell Version: 7.3.3
The text was updated successfully, but these errors were encountered:
Hello @charleswhchan ,
I have ran through the lab two times (in two different VMs) and could not reproduce this error.
Have you tried restarting the cloud shell session and trying again? Does the error still occur? What about restarting the training session, doing that still raises this error?
Module: Analyze images with the Computer Vision service
Lab/Demo: Exercise - Explore Computer Vision
Task: Configure and run a client application
Step: 6
Description of issue
When running the script in Azure Cloud Shell, received the follow error
Repro steps:
Follow the instructions in the lab.
PowerShell Version: 7.3.3
The text was updated successfully, but these errors were encountered: