Description
The current data format does not have an ObjectID field, which is required for the operation to successfully execute. Common examples of a data type that does not have an OID field is an x,y event layer or data created in a database using SQL and not registered to the geodatabase.
Solution
Convert the dataset to a dataset that will add an OID field. Several tools, including Copy Features and Copy Rows, can be used to convert the dataset to a supported format that will contain an OID field. For data created using SQL in a database, either add an OID field using the Add Incrementing ID Field geoprocessing tool (IBM DB2, Microsoft SQL Server, Oracle, or PostgreSQL only) or use the Register With Geodatabase geoprocessing tool to register the table with the geodatabase, which will add an OID field.