René's URL Explorer Experiment


Title: [DX] GAP-11: sdk.entities.insert_records() entity_key must be a UUID, not the entity name — undocumented · Issue #1503 · UiPath/uipath-python · GitHub

Open Graph Title: [DX] GAP-11: sdk.entities.insert_records() entity_key must be a UUID, not the entity name — undocumented · Issue #1503 · UiPath/uipath-python

X Title: [DX] GAP-11: sdk.entities.insert_records() entity_key must be a UUID, not the entity name — undocumented · Issue #1503 · UiPath/uipath-python

Description: Summary sdk.entities.insert_records(entity_key="DepartmentBudget", ...) returns HTTP 400 "The value 'DepartmentBudget' is not valid." The parameter name entity_key implies a logical key (like a name or slug), but the API actually require...

Open Graph Description: Summary sdk.entities.insert_records(entity_key="DepartmentBudget", ...) returns HTTP 400 "The value 'DepartmentBudget' is not valid." The parameter name entity_key implies a logical key (like a nam...

X Description: Summary sdk.entities.insert_records(entity_key="DepartmentBudget", ...) returns HTTP 400 "The value 'DepartmentBudget' is not valid." The parameter name entity_key impli...

Opengraph URL: https://github.com/UiPath/uipath-python/issues/1503

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[DX] GAP-11: sdk.entities.insert_records() entity_key must be a UUID, not the entity name — undocumented","articleBody":"## Summary\n\n`sdk.entities.insert_records(entity_key=\"DepartmentBudget\", ...)` returns HTTP 400 `\"The value 'DepartmentBudget' is not valid.\"` The parameter name `entity_key` implies a logical key (like a name or slug), but the API actually requires the entity's internal UUID.\n\n## Root Cause\n\nThe DataFabric API endpoint `EntityService/entity/{entity_key}/insert-batch` expects the entity's internal UUID (the `id` field), not its `name`. The `sdk.entities.insert_records()` method accepts `entity_key: str` with no type hint or documentation about what value is expected.\n\nThe SQL query path (`sdk.entities.query_entity_records()`) accepts names, which makes the inconsistency more confusing.\n\n## Observed Behaviour\n\n```python\nresult = sdk.entities.insert_records(\n    entity_key=\"DepartmentBudget\",   # entity name — reasonable assumption\n    records=[{\"department\": \"Finance\", \"budget\": 100000}]\n)\n# HTTP 400: \"The value 'DepartmentBudget' is not valid.\"\n```\n\n## Workaround\n\nCall the DataFabric entities list API directly to obtain the UUID, then pass that UUID:\n\n```python\nimport httpx\nresp = httpx.get(f\"{base_url}/datafabric_/api/Entity\", headers={\"Authorization\": f\"Bearer {token}\"})\nentity_uuid = next(e[\"id\"] for e in resp.json() if e[\"name\"] == \"DepartmentBudget\")\nsdk.entities.insert_records(entity_key=entity_uuid, records=[...])\n```\n\nNote: `sdk.entities.list_entities()` cannot be used for this lookup — it crashes with a pydantic validation error (see related issue GAP-12).\n\n## Suggested Fix\n\n1. Accept the entity name and resolve it to a UUID internally (preferred).\n2. Or document clearly in the docstring that `entity_key` is a UUID and show how to obtain it.\n3. Consider renaming the parameter to `entity_id` to make the UUID requirement obvious.\n\n## Impact\n\n- Severity: **High**\n- HTTP 400 with a cryptic error message; no guidance on what the correct value should be\n- The inconsistency with the SQL query path (which accepts names) makes this especially confusing\n","author":{"url":"https://github.com/AlexBizon","@type":"Person","name":"AlexBizon"},"datePublished":"2026-03-26T15:24:27Z","url":"https://github.com/UiPath/uipath-python/issues/1503"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9a007642-0fd5-b15b-d072-9de146a8c669
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA85A:9E1B2:6E9EDA:7CD860:6AFF60F9
html-safe-nonce7aae1f742ffa2045540a999ad930c6be8a5f55036a6b2be57d05741b83471c89
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODVBOjlFMUIyOjZFOUVEQTo3Q0Q4NjA6NkFGRjYwRjkiLCJ2aXNpdG9yX2lkIjoiMjg4ODc1NDA5OTgxNjE5NDI5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3d47bed25fcf0c1822133bd3774ab422681fc73ac2c5907378beb2648637c922
hovercard-subject-tagissue:4144988532
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/UiPath/uipath-python/1503/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7e38ca2d6a64c44cdda0dadec788e3a5d1336ff7e779fe48b0b0614d40e0146d/UiPath/uipath-python/issues/1503
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7e38ca2d6a64c44cdda0dadec788e3a5d1336ff7e779fe48b0b0614d40e0146d/UiPath/uipath-python/issues/1503
og:image:altSummary sdk.entities.insert_records(entity_key="DepartmentBudget", ...) returns HTTP 400 "The value 'DepartmentBudget' is not valid." The parameter name entity_key implies a logical key (like a nam...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAlexBizon
hostnamegithub.com
expected-hostnamegithub.com
None2422ccd4bc783f932948cce4871cb9e0622bab749db07f387c9631b7e6834d1f
turbo-cache-controlno-preview
go-importgithub.com/UiPath/uipath-python git https://github.com/UiPath/uipath-python.git
octolytics-dimension-user_id375663
octolytics-dimension-user_loginUiPath
octolytics-dimension-repository_id925171912
octolytics-dimension-repository_nwoUiPath/uipath-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id925171912
octolytics-dimension-repository_network_root_nwoUiPath/uipath-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2a39546baeb98186e651a01d5d7aa6465825eeb1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/UiPath/uipath-python/issues/1503#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FUiPath%2Fuipath-python%2Fissues%2F1503
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FUiPath%2Fuipath-python%2Fissues%2F1503
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=UiPath%2Fuipath-python
Reloadhttps://github.com/UiPath/uipath-python/issues/1503
Reloadhttps://github.com/UiPath/uipath-python/issues/1503
Reloadhttps://github.com/UiPath/uipath-python/issues/1503
UiPathhttps://github.com/UiPath
uipath-pythonhttps://github.com/UiPath/uipath-python
Codehttps://github.com/UiPath/uipath-python
Issues81 (81)https://github.com/UiPath/uipath-python/issues
Pull requests144 (144)https://github.com/UiPath/uipath-python/pulls
Actionshttps://github.com/UiPath/uipath-python/actions
Projectshttps://github.com/UiPath/uipath-python/projects
Security and qualityhttps://github.com/UiPath/uipath-python/security
Insightshttps://github.com/UiPath/uipath-python/insights
https://github.com/UiPath/uipath-python
New issuehttps://github.com/login?return_to=https://github.com/UiPath/uipath-python/issues/1503
New issuehttps://github.com/login?return_to=https://github.com/UiPath/uipath-python/issues/1503
[DX] GAP-11: sdk.entities.insert_records() entity_key must be a UUID, not the entity name — undocumentedhttps://github.com/UiPath/uipath-python/issues/1503#top
https://github.com/AlexBizon
AlexBizonhttps://github.com/AlexBizon
on Mar 26, 2026https://github.com/UiPath/uipath-python/issues/1503#issue-4144988532
Sign up for freehttps://github.com/signup?return_to=https://github.com/UiPath/uipath-python/issues/1503
Sign in to commenthttps://github.com/login?return_to=https://github.com/UiPath/uipath-python/issues/1503
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.