Fixed error response POST call