Actions can record almost any action (command from menu) which you can perform in Photoshop. However, to use some command there are always some requirements like: active selection, layer in the Layers panel selected and so on. For example: you can not ask in step to create selection based on layers content if layer does not contains any pixel, it will display error message. Each step in action is individual command but you must ensure in previous step(s) that requirement is met. To fix your issue you must expand action and action steps to see what is recorded, which step is causing error message and if that step or command requires something like pixels on layer then look at previous steps(s) to determine why that requirement is not met.