add some http error on api