Hi,
There appears to be a mismatch between the category values shown in the UI and the values accepted by the backend validation.
The backend only accepts:
-
productivity
-
developer-tools
-
creative
-
data
-
lifestyle
-
education
-
communication
-
entertainment
-
utilities
However, the UI dropdown currently contains:
-
productivity
-
creative
-
developer
-
data
-
communication
-
education
-
lifestyle
-
business
-
entertainment
-
utility
The following values do not match the backend requirements:
-
developer → should be developer-tools
-
utility → should be utilities
-
business → not supported by the backend
As a result, selecting these categories triggers the validation error:
“category 必须为受支持的类别之一: (‘productivity’, ‘developer-tools’, ‘creative’, ‘data’, ‘lifestyle’, ‘education’, ‘communication’, ‘entertainment’, ‘utilities’)”
Please update the dropdown values or backend validation so they are consistent.