S04003

Error Code

S04002

Error Message

The parameter objs must be a string that begins with 'dfs://' and ends with '*'. For example, 'dfs://db1*'. RefId: S04003

Probable Causes

For function grant, when the accessType is DB_OWNER, objs can be specified as a prefix rule to limit the databases that the user can create and manage. This error occurs when granting the DB_OWNER privilege with invalid string patterns. The objs that the DB_OWNER privilege applies to must begin with 'dfs://' and end with '*', such as dfs://db1*.

Solutions

Check the prefix and suffix of the objs parameter and retry.