Copying from the info header in Blender 2.8
That's just how it is. It is not perfect. Some operations reported in the Info panel require a specific context to run and will not work in scripts or from the Python  Console, then there are a few that get reported incorrectly there as well. It is often helpful to see the info panel, but there are limits to its usefulness. See the documentation if you need to find a specific function or ask another more specific question describing what you want to do here if you cannot find the answer elsewhere online first.