This works in previous api versions but not this one:
session = ShopifyAPI::Auth::Session.new(shop: uid, access_token: token)
ShopifyAPI::Context.activate_session(session)
session
themes = ShopifyAPI::Theme.all(session: session)
theme = themes.first
assets = ShopifyAPI::Asset.all(session: session, theme_id: theme.id, asset: {"key" => "config/settings_data.json"})
asset = assets.first
a_value = asset.value
asset.value = a_value
asset.save!
T::Private::Types::Void::VOID
It is supposed to just save the same value and update. ShopifyAPI::Asset.create also returns the same error.
This works in previous api versions but not this one:
It is supposed to just save the same value and update. ShopifyAPI::Asset.create also returns the same error.