Update Shopify Gem from v9 to v10+ - Error when retreiving an order - Expected type is HTTParty::

I have a private app and I am trying to update my ruby gem from 9.x to 11.x
I can do the ShopifyAPI::Context.setup (no error), however, when I am trying to get and Order with ShopifyAPI::Order.find(id:order_id), I have the following error :

Traceback (most recent call last):
        1: from (irb):3
TypeError (T.cast: Expected type HTTParty::Response, got type HTTParty::Response with value #<HTTParty::Response:0xb101..., h3-29=\":443\"; ma=86400"]}>)

The expected type and received object type have the same name but refer to different constants.
Expected type is HTTParty::Response with object id 75104120, but received type is HTTParty::Response with object id 75104120.

There might be a constant reloading problem in your application.
Caller: C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/shopify_api-11.1.0/lib/shopify_api/clients/http_client.rb:43

The object id changes, depending on the call, but they are always the same in the message
“Expected type is HTTParty::Response with object id XXXX, but received type is HTTParty::Response with object id XXXX.”

Also I am trying it with the rails console (if that matters)

Does anyone know why there is this error and how can I correct it ?

Thanks

I have the same issue

I fixed it by downgrading httparty to version 0.18.1

That did the trick

Thanks