generated from CorrelAid/r-project-template
-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
bugSomething isn't workingSomething isn't working
Description
devtools::load_all()
#Loading DataToMetabase
mc <- MetabaseClient()
mc$get_databases()
Working with Posit Cloud and the metabase.citizensforeurope.org instance, this yields the following error:
Error: invalid assignment for reference class field ‘session’, should be from class “character” or a subclass (was class “NULL”)
Looking at mc, the user and password were read successfully from .Renviron, however, session is indeed NULL.
Reference class object of class "MetabaseClient"
Field "user":
[1] "(anonymized)"
Field "password":
[1] "(anonymized)"
Field "metabase_url":
[1] "https://metabase.citizensforeurope.org/"
Field "session":
[1] ""
Field "api_uri_prefix":
[1] "/api"
Here, the documentation says "session: Object of class character Session token, which is obtained automatically."
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working