Hello all ! I am facing some issues to add a valid...
# troubleshoot
n
Hello all ! I am facing some issues to add a validation layer to Datahub with great expectations. I added the following in the checkpoint config :
Copy code
yaml_config = f"""
name: {my_checkpoint_name}
config_version: 1.0
class_name: SimpleCheckpoint
run_name_template: "%Y%m%d-%H%M%S-my-run-name-template"
validations:
  - batch_request:
      datasource_name: bigquery_datasource
      data_connector_name: default_inferred_data_connector_name
      data_asset_name: raw_prod.applicative_database_deposit
      data_connector_query:
          index: -1
    expectation_suite_name: suite_deposit_test2
    action_list:
      - name: datahub_action
        action:
            module_name: datahub.integrations.great_expectations.action
            class_name: DataHubValidationAction
            server_url: {server_url}
            token: {gms_token}
            extra_headers:
                - Proxy-Authorization: Bearer {iap_token}
"""
The checkpoint runs correctly but the metadata is not sent to datahub gms. The error I got is in the attached .png. Did somebody face the same problem ?
a
Hi @nice-match-35259, have you reviewed the docs here? https://datahubproject.io/docs/metadata-ingestion/integration_docs/great-expectations/#capabilities This could have something to do with your permissions in DH or GE