Revert "change response error format"

This reverts commit 2ac1355d52b6e02722c88dcfba82f9967d82d4a6.
fix code for reviewed