Hello Team, i’m trying to ingest Metabase in Datah...
# all-things-deployment
b
Hello Team, i’m trying to ingest Metabase in Datahub. We’re using Metabase 0.47.1 and Datahub 0.10.4 and I’m using this config
Copy code
source:
  type: "metabase"
  config:
    connect_uri: my-uri
    username: "my-user"
    password: "my-password"
    default_schema: public
    env: DEV


sink:
  type: "datahub-rest"
  config:
    server: "myserver"
    token: "my-token"
    max_threads: 1
I’m getting this error:
Copy code
ConfigurationWarning: env is deprecated and will be removed in a future release. Please use platform_instance instead.
  config = MetabaseConfig.parse_obj(config_dict)
[2023-09-13 11:09:19,513] ERROR    {datahub.entrypoints:199} - Command failed: Failed to configure the source (metabase): Expecting value: line 1 column 1 (char 0)
I would like to know if I’m doing something wrong ? or if Metabase is not compatible with this version Thanks for your help
r
Hi - this is strange, the recipe seems fine but not really sure why it's throwing decoding error. @orange-night-91387 any ideas?
o
I'm not sure, this is more @dazzling-judge-80093’s forte
d
@bumpy-secretary-92886 is this all the log?
b
Hello @dazzling-judge-80093, yes that’s all the logs I get. I don’t know if it’s the reason, but we host Metabase on premise and we setup Cloudflare Access on it, but when I saw the header passed to the Metabase connexion, it does not support
CF-Access-Client-Id
and
CF-Access-Client-Secret
. Can this be the problem ?