Attempting to create ScopePermission using Keycloak Admin Client SDK (Java) returns 404

Code is below:


scopePermissionRepresentation =build(..)
clientResource = getClientResource(..)
clientResource.authorization().permissions().scope().create(scopePermissionRepresentation)

Version of Keycloak Server: 25.0.2
Version of Keycloak Admin Client : 25.0.2

Any help would be highly appreciated. Thanks

Were you able to create scope permissions ? Im also getting the same 404 error.