I'm no expert on string theory, but I've been reading about it. I've been quite surprised because of how it appears to be inconsistent with observations, but hasn't been rejected yet. Examples:
On the cosmological implications of the string Swampland
Criterion 2: The current B-mode constraint $\epsilon < 0.0044$ corresponds to $|∇ϕV|/V<0.09$, in tension with the second Swampland criterion $|∇ϕV|/V>c∼O(1)$. Near-future measurements will be precise enough to detect values of $r$ at the level of $0.01$; failure to detect would require $|∇ϕV|/V≲0.035$. The plateau models, favored by some cosmologists as the simplest remaining that fit current observations, require $|∇ϕV|/V≲0.02$ during the last 60 e-folds, which is in greater tension with the second Swampland criterion.
This seems to imply that this second Swampland criterion is inconsistent with observations by at least one order of magnitude, possibly two.
The conjectured formula — posed in the June 25 paper by Vafa, Georges Obied, Hirosi Ooguri and Lev Spodyneiko and further explored in a second paper released two days later by Vafa, Obied, Prateek Agrawal and Paul Steinhardt — says, simply, that as the universe expands, the density of energy in the vacuum of empty space must decrease faster than a certain rate. The rule appears to be true in all simple string theory-based models of universes. But it violates two widespread beliefs about the actual universe: It deems impossible both the accepted picture of the universe’s present-day expansion and the leading model of its explosive birth.
So string theory is inconsistent with inflation, dark energy, and Big Bang theory. Even if one argues that the observational evidence behind inflation is not rock solid, surely the other two should be on very firm ground. Why hasn't string theory been rejected yet? Or, even if string theory itself hasn't been rejected, why haven't these problematic swampland conjectures been rejected?
It's weird to me how string theorists are apparently excited by developments (as in Example #2 above) when they are seemingly fatal to the theory. The only possible explanation I can see is that string theory hasn't been falsified, it's just encountered difficulties - but if that's the case then it reminds me somewhat of steady state cosmology vs. Big Bang theory of the past, and being able to appeal to one of the $10^{500}$ possible universes in string theory as the "solution" doesn't seem appealing at all.