api error not fix