If you have at least two custom components defined, from which at least one is optional, you are not able to generate name using rest api. From the interface generating name, it is working.
{
"resourceName": "***RESOURCE NAME NOT GENERATED***",
"message": "You must supply the required components. Scope value was not provided. ",
"success": false
}
Scope is a custom free text component, and is optional.
If you have at least two custom components defined, from which at least one is optional, you are not able to generate name using rest api. From the interface generating name, it is working.
Error:
Scope is a custom free text component, and is optional.
If you include it, it is working:
I have attached global config for easy reproducing. globalconfig.zip