api req common errors