Search the VMware Knowledge Base (KB)
View by Article ID

“The data specified within the request is invalid. Composite error.” error in vRA 7.2 (2149701)

  • 1 Ratings

Symptoms

  • You see the following error within the request form:

    The data specified within the request is invalid. Composite error.

  • In the /var/log/vmware/vcac/catalina.out log file, you see errors similar to:

    2017-03-29 12:19:01,882 vcac: [component="cafe:catalog" priority="ERROR" thread="tomcat-http--38" tenant="vsphere.local" context="yX5J6Pfw" parent="" token="yX5J6Pfw"] com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleRestError:113 - [Rest Error]: {Status code: 400}, {Error code: 10100} , {Error Source: null}, {Error Msg: Composite error.}, {System Msg: Composite Exception.}
    2017-03-29 12:19:01,882 vcac: [component="cafe:catalog" priority="WARN" thread="tomcat-http--38" tenant="vsphere.local" context="yX5J6Pfw" parent="" token="yX5J6Pfw"] com.vmware.vcac.catalog.provider.gateway.impl.ProviderRequestGatewayImpl.validateRequest:95 - The provider [00484665-2078-45d9-8712-439c66a71f76] determined that request [null] was invalid
    com.vmware.vcac.platform.rest.client.error.RestException: Composite error.

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

 

Cause

If a property definition created with a constraint required = no and is added to a blueprint with a flag show in request = true, it overrides the property definition constraint to mandatory.
 
As a result, back-end validation fails when users submits the request with no value for it.

Resolution

This is a known issue affecting VMware vRealize Automation 7.2.
 
This issue is resolved in VMware vRealize Automation 7.3, available at VMware Downloads.

To work around this issue in vRA 7.2, apply the hotfix using the following procedure.

Prerequisites:


Take back up of your environment. For more information, see vRealize Automation Documentation .

Note: The Hotfix applies to vRealize Automation 7.2 only.

 

Procedure:
 

  1. Download the composition-service.war file located at ftp://outbound:outbound@ftpsite.vmware.com/KB2149701/composition-service.war.
  2. Log in to vRealize Automation appliance through SSH using root credentials.
  3. Copy the composition-service.war file to the /usr/lib/vcac/server/webapps directory.
  4. Stop the vRealize Automation server service by running the command:

    service vcac-server stop

  5. Move the existing composition-service folder to a /tmp folder for backup by running the command:

    mv /usr/lib/vcac/server/webapps/composition-service/ /tmp/
     
  6. Grant the rights to war file by running the command:

    chmod -R 755 /usr/lib/vcac/server/webapps/composition-service.war

     
  7. Extract the archive by running the command:

    unzip -qq /usr/lib/vcac/server/webapps/composition-service.war -d /usr/lib/vcac/server/webapps/composition-service/

  8. Grant all rights to the extracted files by running the command:

    chmod -R 755 /usr/lib/vcac/server/webapps/composition-service

  9. Delete the .war file by running the command:

    rm /usr/lib/vcac/server/webapps/composition-service.war
     
  10. Start the vRealize Automation server service by running the command:

    service vcac-server start

  11. Wait for all services to register and ensure there are no errors reported in the catalina.out file.

Rollback Steps:
 
  1. Stop the vRealize Automation server service by running the command:

    service vcac-server stop

  2. Remove / delete the folder /usr/lib/vcac/server/webapps/composition-service by running the command:

    rm -r /usr/lib/vcac/server/webapps/composition-service

  3. Copy the backup folder which was previously saved in /tmp folder back to /usr/lib/vcac/server/webapps/composition-service by running the command:

    cp -r /tmp/composition-service /usr/lib/vcac/server/webapps

  4. Grant ownership rights to the restored files by running the command:

    chmod -R 755 /usr/lib/vcac/server/webapps/composition-service

  5. Start the vRealize Automation server service by running the command:

    service vcac-server start
     

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 1 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 1 Ratings
Actions
KB: