added an exception when /events/x/availability without body is received