Invoke in Custom UI issueContext and UI Kit customFieldType not working

Hello,

this morning our Issue Context and Custom Fields stopped working.
The code is breaking on invoke functions. For example, one of them looks simply like this:

const chunks = await invoke("getChunks");

“getChunks” is defined on the other end and is returning some JSON from the storage.

resolver.define("getChunks", async () => {
  const { chunks } = await getConfiguration();
  return chunks;
});

Basically, the resolver is never reached. The error we get is the following one:

"Extension context failed to validate against the schema: object instance has properties which are not allowed by the schema: [\"experience\"]"

What we observed is, that the error is coming from the following REST endpoint: /rest/internal/2/forge/context/token.

We also have invoke functions on an adminPage and there they are working fine.
Both the Issue Context and Custom Fields were working fine 2 days ago. There were no changes made in the code.

@forge/cli version: 11.1.0
@forge/bridge version: 4.5.0
runtime: nodejs22.x

Does anyone have a similar problem? Were there any changes in the Forge SDK, that we’re not aware of?
Any help would be appreciated.

This should be resolved @MarkoBosnjak

An incident was raised and has since been closed: Atlassian Developer Status - Forge Apps that call invoke API on issue view fail with error

You can read more about it in this thread: Error: "Extension context failed to validate against the schema" – Unexpected "experience" property