Title: instagram_posts metadata: the 'country' output field description is an input instruction · Issue #58 · brightdata/sdk-python · GitHub
Open Graph Title: instagram_posts metadata: the 'country' output field description is an input instruction · Issue #58 · brightdata/sdk-python
X Title: instagram_posts metadata: the 'country' output field description is an input instruction · Issue #58 · brightdata/sdk-python
Description: SDK: brightdata-sdk 2.5.2 (latest on PyPI). Dataset gd_lk5ns7kz21pck8jpis (Instagram posts). The SDK may only be relaying what the API returns; if so, please route this to whoever owns the dataset schema. Steps to reproduce pip install b...
Open Graph Description: SDK: brightdata-sdk 2.5.2 (latest on PyPI). Dataset gd_lk5ns7kz21pck8jpis (Instagram posts). The SDK may only be relaying what the API returns; if so, please route this to whoever owns the dataset ...
X Description: SDK: brightdata-sdk 2.5.2 (latest on PyPI). Dataset gd_lk5ns7kz21pck8jpis (Instagram posts). The SDK may only be relaying what the API returns; if so, please route this to whoever owns the dataset ...
Opengraph URL: https://github.com/brightdata/sdk-python/issues/58
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"instagram_posts metadata: the 'country' output field description is an input instruction","articleBody":"**SDK:** brightdata-sdk 2.5.2 (latest on PyPI). Dataset `gd_lk5ns7kz21pck8jpis` (Instagram posts).\n\nThe SDK may only be relaying what the API returns; if so, please route this to whoever owns the dataset schema.\n\n## Steps to reproduce\n\n```bash\npip install brightdata-sdk==2.5.2\nexport BRIGHTDATA_API_TOKEN=YOUR_API_KEY\npython - \u003c\u003c'PY'\nfrom brightdata import SyncBrightDataClient\n\nwith SyncBrightDataClient(auto_create_zones=False) as client:\n fields = client.datasets.instagram_posts.get_metadata().fields\n print(len(fields), \"fields\")\n print(\"country:\", fields[\"country\"])\nPY\n```\n\n## Actual\n\n```\n44 fields\ncountry: {'type': 'text', 'active': False, 'required': False, 'description': 'Some profiles are restricted by location. Please set the country code in Alpha-2 format'}\n```\n\nThe description tells the caller what to send. Every other field in the schema describes the value that comes back (for example `likes`: \"Number of likes on the post\"). This is the only one of the 44 that reads as an input instruction, and it is also the only inactive one.\n\n## Expected\n\nEither a description of the output value, something like \"Country code (ISO 3166-1 alpha-2) the collection was routed through, when the profile is restricted by location\", or the field removed from the output schema if it is really the request parameter.\n\n## Why it matters\n\nAnything that renders the schema shows this text as documentation of an output field. https://github.com/brightdata/instagram-scraper-python regenerates its field table daily from `get_metadata()`, and this row is the one that misleads.\n","author":{"url":"https://github.com/anil-bd","@type":"Person","name":"anil-bd"},"datePublished":"2026-09-08T03:52:03Z","url":"https://github.com/brightdata/sdk-python/issues/58"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:4f267d1a-56db-0a9c-fd99-a5fde7aa53db |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C538:3CDF0:1A1763:233459:6B043002 |
| html-safe-nonce | 51548754696b92d5851e6ba194fbb8d0f7e00c0b22aae0824477fdce37487221 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTM4OjNDREYwOjFBMTc2MzoyMzM0NTk6NkIwNDMwMDIiLCJ2aXNpdG9yX2lkIjoiODYyMzQ0ODY1MzEwMjg1NDE0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 85faf5c1767cbcd1999d955ec1ea5c4c307b54daa206a41e6916ee6772778d2d |
| hovercard-subject-tag | issue:5381771648 |
| 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/brightdata/sdk-python/58/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0c090e86447455a88405ba7f3c0108c1564ba3946ef5ad447352c5dad28cb08a/brightdata/sdk-python/issues/58 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0c090e86447455a88405ba7f3c0108c1564ba3946ef5ad447352c5dad28cb08a/brightdata/sdk-python/issues/58 |
| og:image:alt | SDK: brightdata-sdk 2.5.2 (latest on PyPI). Dataset gd_lk5ns7kz21pck8jpis (Instagram posts). The SDK may only be relaying what the API returns; if so, please route this to whoever owns the dataset ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anil-bd |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/brightdata/sdk-python git https://github.com/brightdata/sdk-python.git |
| octolytics-dimension-user_id | 213028976 |
| octolytics-dimension-user_login | brightdata |
| octolytics-dimension-repository_id | 1033685757 |
| octolytics-dimension-repository_nwo | brightdata/sdk-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1033685757 |
| octolytics-dimension-repository_network_root_nwo | brightdata/sdk-python |
| 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 | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width