[This line](https://github.com/bigcommerce/bigcommerce-api-ruby/blob/master/lib/bigcommerce/exception.rb#L44) will raise JSON::ParserError if the env.body is a string.