Skip to content

[Bug]: Admin cannot create products with Arabic titles (invalid handle) #14378

@hossam7amdy

Description

@hossam7amdy

Package.json file

{}

Node.js version

v20.19.5

Database and its version

PostgreSQL 17.6

Operating system name and version

Windows 11

Browser name

No response

What happended?

When creating products, collections, or categories from Medusa Admin using Arabic titles, the backend throws an error and creation fails.

Error
Invalid product handle '-'. It must contain URL safe characters

Workaround
Using slugify to generate a handle based on the entered title works.

20251221-1959-19.3236223.mp4

Expected behavior

Entities should be created successfully with non-Latin (Arabic) titles.

Actual behavior

Handle generation strips Arabic characters, resulting in an invalid handle (-) and the request fails.

Link to reproduction repo

https://github.com/medusajs/medusa

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions