#cors failure detection