error rates in APIs