Help Center/ DataArts Lake Formation/ FAQs/ Metadata Management/ What Should I Do If the Error "field 'owner' must match '[a-zA-Z0-9_]+'" Is Displayed When a Catalog Is Created?
Updated on 2025-07-25 GMT+08:00

What Should I Do If the Error "field 'owner' must match '[a-zA-Z0-9_]+'" Is Displayed When a Catalog Is Created?

Symptom

When you create a catalog as a user whose username contains a hyphen (-), the error message "field 'owner' must match '[a-zA-Z0-9_]+'" is displayed.

Cause Analysis

The IAM username for operating LakeFormation instances can contain only letters, digits, and underscores (_). Otherwise, LakeFormation cannot be used.

Procedure

Create a user on the IAM console and add the user to a user group with LakeFormation operation permissions. For details, see Creating an IAM User. The username can contain only letters, digits, and underscores (_).