Skip to content
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

Restart-ZoomRoom 401 error #85

Open
ericMedeiros93 opened this issue Jan 27, 2023 · 2 comments
Open

Restart-ZoomRoom 401 error #85

ericMedeiros93 opened this issue Jan 27, 2023 · 2 comments

Comments

@ericMedeiros93
Copy link

ericMedeiros93 commented Jan 27, 2023

Getting a 401 Error when trying to use the Restart-ZoomRoom command:

Restart-ZoomRoom -RoomId cb521IyMSUCrgNsnCfUhKQ
Invoke-ZoomRestMethod : The remote server returned an error: (401) Unauthorized.
At C:\Program Files\WindowsPowerShell\Modules\PSZoom\2.0.2.0\Public\Rooms\Restart-ZoomRoom.ps1:68 char:25
+ ... $response = Invoke-ZoomRestMethod -Uri $request.Uri -Body $RequestBod ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : AuthenticationError: (https://api.zoo...CfUhKQ/zrclient:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : 401,Invoke-ZoomRestMethod
@JosephMcEvoy
Copy link
Owner

Do you have the correct permisisons assigned to your OAuth app in Zoom?

@ericMedeiros93
Copy link
Author

I've given the OAuth app all available permissions. Though after the last update to the module I'm now seeing this error:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants