An error occurred
* fix bug when migrate from API * fix test * fix test * improve * fix error message