TCA Workload template creation fails with "Invalid payload"
search cancel

TCA Workload template creation fails with "Invalid payload"

book

Article ID: 441601

calendar_today

Updated On:

Products

VMware Telco Cloud Automation VMware Telco Cloud Platform VMware Telco Cloud Platform - 5G Edition VMware Telco Cloud Platform Advanced VMware Telco Cloud Platform Essentials for RAN VMware Telco Cloud Platform Essentials VMware Telco Cloud Platform RAN

Issue/Introduction

In Telco Cloud Automation, administrators are unable to create or save a workload template. When attempting to save the template, the user interface rejects the configuration and displays an "INVALID PAYLOAD" error.

The following error string is observed in the resulting payload:

{
  "errors" : [ {
    "code" : "E_INVALID_SCHEMA",
    "message" : "Invalid payload"
  } ]
}

Environment

TCA 3.4
TCP 5.1

Cause

The TCA user interface fails to properly construct the complete data object for the workload template. A required form field is passed as undefined to the backend API, triggering a schema validation failure and dropping the configuration data.

Resolution

  1. Open the web browser's Developer Tools (typically accessed via F12) and navigate to the Console tab.
  2. Attempt to save the workload template again within the TCA UI.
  3. Monitor the Console for a specific error Invalid payload occurring at the exact moment the save action is triggered.
  4. Log out of the TCA session, clear the browser cache, and attempt create workload template one more time.