Fixed request failed error

introduced in 43aa0e5f1cd889a00a1d229129b9a641da4436bd