Working on APIError process