Request an inventory report for the given library.

an error, if the request is not successful.