On this page
article
400 - Invalid Metadata Type
The
invalid_metadata_type error code will be returned if you provide an invalid type value when creating or updating an object containing metadata.This error code would be returned, for example, if you provided an invalid type value of str when creating a shipment:
{
"metadata": [
{
"key": "my_key",
"value": "my_value",
"type": "str"
}
]
}
The valid values for
type include: - string - bool - date_time_offset - integer - decimal - url If in doubt, provide your value with a type of string.