NoMethodError (undefined method `construct_api_path' for nil:NilClass)

Solved
Tourist
4 0 0

Gemfile

 

source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.6.1'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.2.3'

...

gem 'shopify_app'
gem 'activeresource', github: 'rails/activeresource'

 

Gemfile.lock

shopify_api (7.0.1)
activeresource (>= 4.1.0, < 6.0.0)
graphql-client
rack
shopify_app (9.0.3)
browser_sniffer (~> 1.1.2)
omniauth-shopify-oauth2 (~> 2.1.0)
rails (>= 5.0.0)
shopify_api (>= 7.0.0)

 

I saw this document and changed the version, but I could not solve it.

https://github.com/Shopify/shopify_api/issues/574

0 Likes
Tourist
4 0 0

Could anyone help me?

0 Likes
Highlighted

Success.

New Member
1 1 2

@kentarosince this is specific to Ruby and the `shopify_app` and `shopify_api` gems, you're probably more likely to get a helpful response if you open an issue on one of those repositories. The best way to get help would be to create a public repository on GitHub that reproduces the error and share it. And let us know what the problem was if you fix it :)

2 Likes

Success.

Shopify Expert
3958 12 301

I looks like Shopify fixed things up with this pull request: https://github.com/Shopify/shopify_api/pull/563

 

Except you are still experiencing issues. Perhaps try downgrading your API till this gets sorted to a version before the api versions? We are bound to get some new code soon to fix these problems, as they are not unknown. 

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
1 Like