catch decoding errors on .text
catch undecodable json