000301: The workspace is of the wrong type.

Description

The workspace being used is not the correct type for the operation. Refer to the tool's help topic for supported workspace types.

For example, some operations such as creating a version or checking out data from a database can only be executed on an enterprise geodatabase workspace.

Solution

Change the parameter requiring a workspace or dataset to the correct workspace type and retry the operation.