Adding app error api calls.