Unable to get Access Token on Client Site

Description
We currently have an OAuth admin level app that is able to gather a user list as well as their meetings/meeting participants/webinars/zoom rooms/etc. Although when deploying this onto a client site, the app is breaking due to it’s inability to retrieve the refresh token from the zoom.app.config file. The app is able to use the token the first time, as well as update the refresh token after the first use, although on the second attempted use the refresh token is invalid/unavailable.

Again this all works fine locally, but when on a client server it is failing, just wondering if there are any other variables I may be missing.

Error
ERROR CheckMeetingsDateFilter Error: Unable to obtain access token. at ZoomApp.Helpers.ZoomAppTokenManager.d__12.MoveNext() in C:\Users\tarmstrong\source\repos\ZoomApp\Helpers\ZoomAppTokenManager.cs:line 65
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ZoomApp.Apis.d__18.MoveNext() in C:\Users\tarmstrong\source\repos\ZoomApp\Apis.cs:line 188
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ZoomApp.TimekeeperDataCheck.d__3.MoveNext() in C:\Users\tarmstrong\source\repos\ZoomApp\TimekeeperDataCheck.cs:line 114

Which App Type (OAuth / Chatbot / JWT / Webhook)?
Knowing the endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

Which Endpoint/s?

/users/{userId}/meetings

Hey @TaylorA,

Thank you for reaching out to the Zoom Developer Forum. When you see an error obtaining the refresh_token or access_token, have you logged the request, response body, and status for the call? If so, please share them here.

I think we should confirm that the API is being called with the expected values and that the API is returning what we expect first. If so, we can look closer at the logic involved to see if the issue lies there.

Thanks,
Max

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.