Jericho / ZoomNet

.NET client library for the Zoom.us REST API v2
MIT License
69 stars 46 forks source link

Receive Bad Request #272

Closed quintonv closed 1 year ago

quintonv commented 1 year ago

Hi, I can connect with the Server to Server method.

However when I try to get a list of users or Contacts I just get a bad request error, the usual http 400 error

                var connectionInfo = new OAuthConnectionInfo(clientId, clientSecret, accountId,
                    (_, newAccessToken) =>
                    {
                    });
                var zoomClient = new ZoomClient(connectionInfo);

                CancellationToken tok = new CancellationToken();

                var con = await zoomClient.Contacts.GetAllAsync();

                var con = await zoomClient.Webinars.GetAllAsync("acMvejZ1SumUIR1lQg3vLQ", 30, 1, tok);

                var users = await zoomClient.Users.GetAsync("acMvejZ1SumUIR1lQg3vLQ");
quintonv commented 1 year ago

Had a issue with my AccountId, this seemed to create 400 errors no matter what I tried.