improved debugging messages for missing apis