metro.formdata: Unsupported Option Value

metro.formdata: Unsupported Option Value

You’ve passed a parameter to metro.formdata(), that is not valid.

Valid parameters are:

  • a HTMLFormElement
  • a FormData object
  • a plain object

The error message contains the exact option that was invalid.