Pitfalls in API usability

Here API means the generalized concept of "API":