Bot API 400 Bad Request on Intent Update via AppFoundry Integration

Looking for some advice on troubleshooting this persistent 400 error when updating bot intents through our AppFoundry integration. We are building a premium app that syncs external knowledge base articles to Genesys Cloud bot intents, and the POST /api/v2/bots/{botId}/intents/{intentId} endpoint is rejecting the payload with a validation failure.

The environment is a multi-org setup using OAuth2 client credentials, and we have verified that the service account has the bot:bot:write permission. The issue appears specifically when we attempt to update the knowledge object within the intent definition. The API documentation suggests this should be supported, but the response body indicates a schema mismatch.

{
“errors”: [
{
“code”: “invalid_value”,
“message”: “The field ‘knowledge’ contains an invalid structure. Expected an array of objects with ‘id’ and ‘name’.”
}
]
}

We are sending the knowledge array exactly as retrieved from the GET endpoint, including the id and name fields. Is there a known restriction on updating the knowledge object via the API for AppFoundry partners, or is this a bug in the current API version? Our integration uses the Genesys Cloud SDK version 2.3.1 for JavaScript. Any insights into the expected payload structure would be appreciated.