Figma Support Forum

Plugin issue / Expected "manifest.parameters" to have non-optional parameter

Hi!

I’m trying to use the Accepting Parameters as Input.

When specifying only optional parameters, I get an error:

Example

"parameters": [
	{
		"name": "Color",
		"key": "color",
		"optional": true
	}
]

Why is this happening? What am I doing wrong?

Most likely you need to add at least one required parameter.

This behavior does not suit me, and nothing is said about it in the documentation.

Now I found out that the problem is not critical: the plugin can still be started without entering parameters, they are requested only when the plugin is launched with the Tab key.