Mentioning `getListing` in the error message is wrong. The called function might also have been `getFile` or `getObject`.