Hi. I’m using Datahub Version 0.12.0. When I’m emitting consecutive graphql mutation queries, I am getting the ff error in between successful runs. I investigated and Datahub successfully emits every 5 seconds. So some of my queries are successful, some are not. I tried adding retries to the graph client config but I’m still getting the error. Should I add more retries? Is there another solution? Say, retry based on time? Thanks, will appreciate the help.
Error:
Error executing graphql query: [{'message': 'Unauthorized to perform this action. Please contact your DataHub administrator.', 'locations': [{'line': 3, 'column': 9}], 'path': ['updatePolicy'], 'extensions': {'code': 403, 'type': 'UNAUTHORIZED', 'classification': 'DataFetchingException'}}]
Config:
DatahubClientConfig(
server=settings.DATAHUB_METADATA_SERVER_URL,
token=settings.DATAHUB_ACCESS_TOKEN,
retry_max_times=5,
retry_status_codes=[
403,
429,
500,
502,
503,
504,
],
)
)```