500 Internal Server Error when activating draft object schema via Update Object Schema API
We already have an active schema for the object type and are trying to create and activate a new schema version.
Steps:
- Existing active schema is in use
- Created a new draft schema (
POST /api/object-schemas) - Configured properties and source mapping successfully
-
Attempted to activate the draft schema using:
PATCH /api/object-schemas/{id}
with
status = ACTIVE
Result: API returns 500 Internal Server Error
Expected: Draft schema should be activated and replace the current schema

