setVirtualForeground returns 80004 app_not_support despite being enabled in Marketplace

Hi,

I am building a User-managed General Zoom App for Meetings that displays a countdown timer as an overlay on the current user’s own video.

The intended behavior is similar to the official Zoom Timer app: the app calls setVirtualForeground() to display a countdown on the user’s video tile.

However, setVirtualForeground and removeVirtualForeground are reported as unsupported, even though both APIs are enabled for the app in the Zoom Marketplace.

App configuration

App type:

  • General App
  • User-managed
  • Development environment
  • Meetings surface enabled
  • Zoom Apps SDK enabled
  • Mobile Client enabled

Zoom Apps SDK APIs enabled in Marketplace:

  • getSupportedJsApis
  • setVirtualForeground
  • removeVirtualForeground
  • onMyMediaChange

OAuth scope:

  • zoomapp:inmeeting

The app is installed through Local Test and has been removed/re-added after enabling the APIs.

SDK:
@zoom/appssdk 0.16.41

macOS test

Zoom Workplace:
7.1.9.88375

Environment:
product: desktop
runningContext: inMeeting
auth.status: authorized

zoomSdk.config() succeeds, but returns:

unsupportedApis: [
“removeVirtualForeground”,
“setVirtualForeground”
]

getSupportedJsApis() succeeds, but returns:

supportedApis: [
“getSupportedJsApis”,
“setVirtualBackground”,
“removeVirtualBackground”,
“onMyMediaChange”
]

setVirtualForeground and removeVirtualForeground are missing.

Direct API test

To rule out an incorrect capability check in our application, I also called setVirtualForeground() directly with a small valid ImageData foreground.

The native SDK call fails with:

Error code: 10047

Message:
No Permission for this API. [code:80004, reason:app_not_support]

Request ID from one reproduced call:
id2a7f373b288d7e6a85505a3f4c1a5b5a

Android test

We also tested the same Development App using Zoom Workplace for Android 7.1.8.42948.

The app loads correctly inside Zoom, config() succeeds with:

product: mobile
runningContext: inMeeting

but setVirtualForeground and removeVirtualForeground are also reported as unsupported there.

Important comparison

The official Zoom Timer app works correctly on the same macOS computer, Zoom account, meeting and camera.

Its foreground countdown is displayed correctly on my video tile.

Therefore, Virtual Foreground functionality itself is working in the Zoom client.

Expected behavior

According to the current Zoom Apps SDK documentation, setVirtualForeground is supported on desktop and Android.

Since:

  • the APIs are explicitly enabled in Marketplace,
  • config() succeeds,
  • the app is authorized,
  • the app is running inMeeting,
  • zoomapp:inmeeting is granted,
  • the app was re-authorized after enabling the APIs,
  • and the official Zoom Timer can use the same foreground functionality,

I would expect setVirtualForeground to be available to this Development App.

Questions

  1. Is setVirtualForeground / removeVirtualForeground subject to an additional entitlement, Marketplace approval, or manual provisioning that is not documented in the SDK reference?

  2. Are these APIs unavailable to Development / Local Test apps until some additional review step is completed?

  3. Does our app need to be manually enabled by Zoom for Virtual Foreground APIs?

  4. If this is not an entitlement issue, could this be a current regression in Zoom Workplace 7.1.x or the Zoom Apps permission system?

I can provide the App ID privately if needed, as well as additional request IDs and diagnostic output.

Thank you.

hi @l3xand3r ,

Welcome to the community. You sound like you are going through the right process, but with
unsupportedApis: [
“removeVirtualForeground”,
“setVirtualForeground”
]
then that is your block.

Please check again that you have defined the scopes in the marketplace entry.
Then check that you repeat them when you launch the appssdk
. Maybe you call it twice?
I always return that output to my console to check during development.

I hope that helps

John Drinkwater
Zoom Developer Champion
Not a Zoom Employee

Thanks John,
I checked all three points specifically.

The Marketplace entry has these Zoom Apps SDK APIs enabled:

  • getSupportedJsApis
  • setVirtualForeground
  • removeVirtualForeground
  • onMyMediaChange

The app also has the mandatory zoomapp:inmeeting scope.

I instrumented the runtime to verify the zoomSdk.config() call. It is called exactly once per document load.

Runtime result:

configCallCount: 1
duplicateConfigAttempt: null

The single config() call receives exactly:

[
  "getSupportedJsApis",
  "setVirtualForeground",
  "removeVirtualForeground",
  "onMyMediaChange"
]

getSupportedJsApis() is called only after the awaited config() call completes.

However, the successful config() response still contains:

unsupportedApis: [
  "removeVirtualForeground",
  "setVirtualForeground"
]

I also bypassed the availability check for diagnostic purposes and called both APIs directly.

setVirtualForeground() returns:

10047
No Permission for this API.
[code:80004, reason:app_not_support]

Request ID:

id1aae5ba2cfe9e3dc7d1cd11042622e03

removeVirtualForeground() returns the same error:

10047
No Permission for this API.
[code:80004, reason:app_not_support]

Request ID:

id84bebc9ba52a37105a84dcbcc786288f

So duplicate SDK initialization and a mismatch between Marketplace APIs and config() capabilities are now ruled out.

The official Zoom Timer continues to display its foreground timer correctly on the same Mac / Zoom client / account.

Is there an additional entitlement, approval, or backend provisioning required for third-party apps to use setVirtualForeground / removeVirtualForeground?

If useful, I can provide the App ID privately so Zoom staff can inspect the app configuration.