DDF-495 added checks for 400 and 402 (not used) errors for is available method