Skip to main content

How to Troubleshoot Issues in the Create Resource Window?

There are a couple of known issues related to the Create Resource window:

  1. When adding a new object and using the Create Resource window, you might get an error like this:
Failed to create ServiceMonitor metrics-dev. Unprocessable Entity - servicemonitors.monitoring.coreos.com "metrics-dev" is invalid: metadata.
resourceVersion: Invalid value: 0x0: must be specified for an update

Unprocessable entity error

This is a common error that typically occurs when you try to add a resource or object that already exists. Ensure you deleted the resource before creating a new one or change the namespace.

  1. Another issue connected with the Create Resource window is the Failed to perform operation: code 422 error:

Error 422

Please note that the YAML format is used.

A YAML file relies on whitespace and indentation to indicate nesting. It is critical to note that tab characters cannot be used for indentation in YAML files; only spaces can be used. Read the YAML basics in Kubernetes page for more details.