getonbrd / pipedrive-connect

Ruby library for the Pipedrive API.
MIT License
19 stars 30 forks source link

WARNING: No adapter was configured for this request #22

Closed krivitsky closed 1 year ago

krivitsky commented 1 year ago

I'm testing the API and getting an error

require 'pipedrive'
Pipedrive.api_key = "abc123"

Pipedrive::Organization.retrieve(1)
WARNING: No adapter was configured for this request

Traceback (most recent call last):
        1: from (irb):5
TypeError (no implicit conversion of nil into String)

The same goes for other objects and methods. What am I doing wrong? Ruby: 2.6.5

Thanks

j4rs commented 1 year ago

Hello, which version are you using? you can get it by calling Pipedrive::VERSION - It is all working fine here with the last version 1.2.9

krivitsky commented 1 year ago

Thank you. It indeed works in a clean rails project with ruby 2.6.5 and 2.7.0.

But shows the mentioned error in my project. Any ideas?

j4rs commented 1 year ago

Maybe check what version of the faraday gem you are using (it is the only dependency of this gem) and try updating it to a more recent one.

j4rs commented 1 year ago

Closing this as there is no new update and the problem doesn't seem to be related with the gem.