Fixed wrong error messages

I found that some API error messages are incorrect, and fixed them.

Although I found the differences in expression between "List ... failed" and "Listing ... failed", I've not unified them.