
Announcements
I want to solve the issue of the Zoom custom connector with JWT.
My Zoom JWT app works with Python but my Power Automate custom connector doesn’t work.
Please help me.
import http.client
conn = http.client.HTTPSConnection("api.zoom.us")
headers = {
'authorization': "Bearer {deleted},
'content-type': "application/json"
}
conn.request("GET", "/v2/users?status=active&page_size=30&page_number=1", headers=headers)
res = conn.getresponse()
data = res.read()
# print(data.decode("utf-8"))
with open('zoomJWT.txt', mode='w') as f:
f.write(data.decode("utf-8"))
Test:
Status
(401)
Headers
{
"cache-control": "no-cache, no-store, must-revalidate, no-transform",
"content-type": "application/json;charset=UTF-8",
"date": "Tue, 30 Aug 2022 01:18:31 GMT",
"expires": "Thu, 01 Jan 1970 00:00:00 GMT",
"pragma": "no-cache",
"x-content-type-options": "nosniff",
"x-ms-apihub-cached-response": "true",
"x-ms-apihub-obo": "true",
"x-zm-trackingid": "v=2.0;clid=aw1;rid={deleted}",
"x-zm-zoneid": "VA"
}
Body
{
"code": 124,
"message": "Invalid access token."
}