SAP Knowledge Base Article - Preview

3281542 - API putProperty request does not work


When you try to use putProperty to maintain SAP Cloud Portal properties via API request, an error is returned and properties are not updated. Other API calls work, just putProperty fails.

The error can be seen in the response, either via HTML or JSON:

  • <HTML><HEAD><TITLE>Internal Server Error</TITLE></HEAD><BODY><H1>Internal Server Error - Read</H1>The server encountered an internal error or misconfiguration and was unable to complete your request.<P>Reference...</BODY></HTML>
  • {"message":"Internal Server Error","type":"Api Exception","error":"Cannot invoke \"java.util.Collection.size()\" because \"c\" is null","title":"Api Exception","detail":"Cannot invoke \"java.util.Collection.size()\" because \"c\" is null"}

IMPORTANT: this should be fixed now, so if you face the issue, please, raise a case to Product Support, under component CEC-HCS-CCAZ-CZO.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.



SAP Commerce Cloud in the Public Cloud


SAP Commerce Cloud all versions


KBA , CEC-SCC-CLA-CPO , Cloud Portal , Known Error

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.