-
Notifications
You must be signed in to change notification settings - Fork 66
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
'az iot central device command run' Throws Internal Error #361
Comments
@valluriraj @yang-hai-feng @prbans |
@scout208, the error looks like shows can't read input file, can you try to create a local json file(request.json) with
Execute command BTW, would you please also provide the request id that CLI output? |
@yang-hai-feng I've tried it with a file instead and now I'm getting this response:
Unfortunately I closed my old Powershell session and I can't find the request ID of my original request. But, changing it to a file payload seems to have gotten a different result anyways. |
Checked the backend logs, looks like the resource was not found for "b0qynpqqpkv", is "b0qynpqqpkv" your device id or interface name? |
That's my interface id I got from the device template |
@scout208, would you please share with me your device template? try to figure out the root cause, but all my local created template is working. |
@yang-hai-feng Yes, is there a way to download it somehow? I only know how to access it through the web portal and I'd like to avoid having to screenshot every page if possible. |
Click on your device template name, and choose the top level of the model, click export, if it's not feasible to share here, you can send to my email: [email protected]. |
Okay here is my device template:
|
@scout208 , Edge command is not supported in CLI today, we are still working on this feature support, will get you updated once the new version released. |
@scout208, we just released edge support a recent version of CLI extensions which had edge support on device, please check Docs: https://docs.microsoft.com/en-us/cli/azure/iot/central/device/edge?view=azure-cli-latest |
Describe the bug
Trying to run the GetModuleLogs command on an IoT Central device throws an exception. See the trace below.
Command Name
az iot central device command run Extension Name: azure-iot. Version: 0.10.11.
Errors:
To Reproduce:
Expected Behavior
This command should return the logs from the module.
Environment Summary
Additional Context
The text was updated successfully, but these errors were encountered: