Upload virtual background files API returns error 4711 with server-to-server OAuth App

API Endpoint(s) and/or Zoom API Event(s)

Upload virtual background files​ v2 API

Description
I am receiving this response when I attempt to upload virtual background files to my account via API’s:

{
    "code": 4711,
    "message": "Invalid access token, does not contain scopes:[account:write:virtual_background_files:master]."
}

However, my access token very clearly confirms the scope is there:

{

    "access_token": "*********",

    "token_type": "bearer",

    "expires_in": 3599,

    "scope": "account:read:settings:admin account:write:virtual_background_files:admin account:delete:virtual_background_files:admin account:write:virtual_background_files:master account:delete:virtual_background_files:master",

    "api_url": "*************"

}

How To Reproduce
I was able to reproduce this simply from postman, but I initially encountered the issue while troubleshooting an app I’m working on and thought I was going crazy.

Is this a known bug? I wasn’t able to find anything digging through these forums.

hi @jaron.davis ,

Welcome to the community.

Can you check this works IRL?

Please go to Zoom.us, log in as the user and upload a virtual background to check if it is available.
The virtual background feature must be enabled on the account you are using

https://support.zoom.com/hc/en/article?id=zm_kb&sysparm_article=KB0060387#h_2ef28080-fce9-4ac2-b567-dc958afab1b7

all the best

John

Hi John,
Thanks for responding. Yes, I have confirmed at the account level that it is enabled and I can manually upload a virtual background.

@jaron.davis I previously helped two people with what I believe is the exact same problem(here and here). The funny thing is: the second person I helped was named Jaron. It wasn’t you, was it?