In most cases you have to use the default human metarig as provided by blender. Or you must construct your own metarig but do so in the correct order from root bone onward.
Metarigs from other source may not meet requirments.
(See FAQ on which metarig samples are supported)