Trying to update presence_status always returns a 401 "Invalid access token"

API Endpoint(s) and/or Zoom API Event(s)
https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/updatePresenceStatus

PUT api zoom us/v2/users/{user_id}/presence_status , with json {"status":"Away"}
Bearer token sent in the header

Description
I’ve got an account level, oAuth app, with the scopes “user:write:admin, user:read:admin”.

  • Auth through - zoom us/oauth/authorize
  • Get a token from - zoom us/oauth/token
  • In the response from the token uri, I see the corrects scopes.
  • I take the access token, and try to update my presence. I’ve tried both my user id and “/users/me/presence_status” … and it returns a 401

Error?
401 Unauthorized

{
    "code": 124,
    "message": "Invalid access token."
}

Hi @terrym , I am not able to reproduce this. Was it previously working and behavior changed? If so, when?

No, this is a brand new app and I’ve not been able to get this to work.

Hi @terrym , can you please private message me the full request so I can see what you’re sending? Additionally, have you been able to successfully use this token with any other endpoints like List Meetings?

Thanks Gianni! I found out there’s an issue with cluster “us04”, which is what I’m on. I can wait until that’s sorted.

Okay great, I’m glad you were able to sort it out!

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