Title: Obscure error message when connection to Lightdash doesn't work · Issue #1 · lightdash/python-sdk · GitHub
Open Graph Title: Obscure error message when connection to Lightdash doesn't work · Issue #1 · lightdash/python-sdk
X Title: Obscure error message when connection to Lightdash doesn't work · Issue #1 · lightdash/python-sdk
Description: Description When you incorrectly configure the Client, then the error message returned is rather vague and obscure. It would be of great help if the error message provided actually informs the user what is wrong. E.g. incorrect credentia...
Open Graph Description: Description When you incorrectly configure the Client, then the error message returned is rather vague and obscure. It would be of great help if the error message provided actually informs the user...
X Description: Description When you incorrectly configure the Client, then the error message returned is rather vague and obscure. It would be of great help if the error message provided actually informs the user...
Opengraph URL: https://github.com/lightdash/python-sdk/issues/1
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Obscure error message when connection to Lightdash doesn't work","articleBody":"## Description\n\nWhen you incorrectly configure the Client, then the error message returned is rather vague and obscure. It would be of great help if the error message provided actually informs the user what is wrong. E.g. incorrect credentials or cannot connect to the provided instance.\n\n## Reproduction path\n1. Run the code below.\n```python\nfrom lightdash import Client\n\nclient = Client(\n instance_url=\"https://app.lightdash.com\",\n access_token=\"xxxx\",\n project_uuid=\"xxxx\"\n)\n```\n\n2. You will get an error message similar to:\n```\nhttpx.ConnectError: [Errno 8] nodename nor servname provided, or not known\n```","author":{"url":"https://github.com/bramrodenburg","@type":"Person","name":"bramrodenburg"},"datePublished":"2025-02-25T11:43:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1/python-sdk/issues/1"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:06c209ee-e840-fa2d-3f3b-b180fc299dc2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A712:340321:6DE96CD:8DD0913:69758CA8 |
| html-safe-nonce | 01bfbc40cd7081a8b204423ed507cbd7a9326adaa2027332ed34b5dfc1daae1a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzEyOjM0MDMyMTo2REU5NkNEOjhERDA5MTM6Njk3NThDQTgiLCJ2aXNpdG9yX2lkIjoiNjE3NzE1Njk2MTk5MzU5MTk3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4a7f37971af9bd0e46def38dbd8a5db6ca95d4b4aab2d4ebd47048c0b0431902 |
| hovercard-subject-tag | issue:2878122468 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/lightdash/python-sdk/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e0197069b207d651a91a5d1170bb6b8eff4e41c1a35a7f28386ff7532f565704/lightdash/python-sdk/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e0197069b207d651a91a5d1170bb6b8eff4e41c1a35a7f28386ff7532f565704/lightdash/python-sdk/issues/1 |
| og:image:alt | Description When you incorrectly configure the Client, then the error message returned is rather vague and obscure. It would be of great help if the error message provided actually informs the user... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bramrodenburg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/lightdash/python-sdk git https://github.com/lightdash/python-sdk.git |
| octolytics-dimension-user_id | 65912827 |
| octolytics-dimension-user_login | lightdash |
| octolytics-dimension-repository_id | 932695849 |
| octolytics-dimension-repository_nwo | lightdash/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 932695849 |
| octolytics-dimension-repository_network_root_nwo | lightdash/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width