<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div>I want to announce an issue with &quot;<a href="http://keycloak.github.io/docs/rest-api/index.html#_update_the_client">Update the client</a>&quot; via Admin REST API.<br></div><div><br><u>Description:</u> I want to change the description for existing client #3.<br><br><u>Note:</u> From the documentation (&quot;<a href="http://keycloak.github.io/docs/rest-api/index.html#_update_the_client">Update the client</a>&quot;), body parameter attributes <br>are required in schema &quot;ClientRepresentation&quot;.<br></div><div>Description of schema &quot;ClientRepresentation&quot; notes for any mandatory attribute.<br><br>Are some parameters mandatory for successfuly running of this scenario ?<br><br></div><u>Tested scenario:</u><br><u>Tested data:</u><br>&quot;Update Client&quot;:<br>&quot;method&quot;:&quot;PUT&quot;,&quot;url&quot;:&quot;&lt;URL&gt;:&lt;PORT&gt;/auth/admin/realms/&lt;REALM&gt;/clients/3&quot;<br><div>&quot;headers&quot;:<br>[[&quot;Content-Type&quot;,&quot;application/json&quot;],<br><div>[&quot;Authorization&quot;,&quot;Bearer &lt;ACCESS_TOKEN&gt;]]</div></div><div>&quot;body&quot;:<br>&quot;{<br>&quot;id&quot;:&quot;3&quot;,<br>&quot;clientId&quot;:&quot;testclient-3&quot;,<br>&quot;name&quot;: &quot;testclient-3&quot;,<br>&quot;description&quot;: &quot;TESTCLIENT-3 v.2&quot;<br>}&quot;<br></div><br></div><u>Test Result:</u> Status Code: 500 Internal Server Error<br><br></div><u>Some parts from console logs:</u><br>10:35:31,591 ERROR [io.undertow.request] (default task-18) UT005023: Exception handling request to /auth/admin/realms/universities/clients/3: java.lang.RuntimeException: request path: /auth/admin/realms/universities/clients/3<br>...<br>    at org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:61)<br>    ... 29 more<br><b>Caused by: java.lang.NullPointerException</b><br>    at org.keycloak.services.resources.admin.ClientResource.update(ClientResource.java:106)<br><br><br></div>Thanks a lot.<br><br></div>Best Regards,<br></div>Juraj<br><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div>