結果 : throw error with status code javascript