René's URL Explorer Experiment


Title: PATCH doesn't allow custom data fields · Issue #23 · webflow/webflow-python · GitHub

Open Graph Title: PATCH doesn't allow custom data fields · Issue #23 · webflow/webflow-python

X Title: PATCH doesn't allow custom data fields · Issue #23 · webflow/webflow-python

Description: Hello, I'm new to the WebFlow python client, but I'm trying to programmatically update a CMS item in a collection, including some custom fields I defined. However, when I issue the following request (as suggested here: https://developers...

Open Graph Description: Hello, I'm new to the WebFlow python client, but I'm trying to programmatically update a CMS item in a collection, including some custom fields I defined. However, when I issue the following reques...

X Description: Hello, I'm new to the WebFlow python client, but I'm trying to programmatically update a CMS item in a collection, including some custom fields I defined. However, when I issue the followin...

Opengraph URL: https://github.com/webflow/webflow-python/issues/23

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PATCH doesn't allow custom data fields","articleBody":"Hello, I'm new to the WebFlow python client, but I'm trying to programmatically update a CMS item in a collection, including some custom fields I defined. However, when I issue the following request (as suggested here: [https://developers.webflow.com/data/reference/cms/collection-items/items/update-item](https://developers.webflow.com/data/reference/cms/collection-items/items/update-item))...\r\n```py\r\nclient.collections.items.update_item(\r\n    collection_id=MY_COLLECTION_ID,\r\n    item_id=MY_ITEM_ID,\r\n    field_data=CollectionItemFieldData(\r\n        custom_field_1=\"test\"\r\n    )\r\n)\r\n```\r\n\r\n...I get the following error:\r\n```\r\nTypeError: ItemsClient.update_item() got an unexpected keyword argument 'field_data'\r\n```\r\nI'm using version 1.2.0. Is this a bug, or am I just misunderstanding the documentation? \r\n\r\n### UPDATE\r\nI did get the CURL version to work, so at least that's a workaround:\r\n\r\n```sh\r\ncurl -X PATCH https://api.webflow.com/v2/collections/MY_COLLECTION_ID/items/MY_ITEM_ID \\\r\n     -H \"Authorization: Bearer MY_TOKEN\" \\\r\n     -H \"Content-Type: application/json\" \\\r\n     -d '{\r\n  \"fieldData\": {\r\n    \"custom_field_1\": \"test\"\r\n  }'\r\n```\r\n","author":{"url":"https://github.com/vanwars","@type":"Person","name":"vanwars"},"datePublished":"2024-10-17T14:16:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/23/webflow-python/issues/23"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9052e573-4a69-9501-bdf9-e9860e9d8749
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBDD6:B38F8:29588C6:3744EBE:698075D6
html-safe-nonce18ddf99a2c0f39aad244106ebf084660803a95f4bcbb45d361b1928a6a08bba8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREQ2OkIzOEY4OjI5NTg4QzY6Mzc0NEVCRTo2OTgwNzVENiIsInZpc2l0b3JfaWQiOiIzNjM5OTc0MjQwOTg1MzE0Nzc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4e3a7ec9e1cdbae4400c2a4a4ff6d18153a2cddbd297da28b3533b4910967a48
hovercard-subject-tagissue:2594884902
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/webflow/webflow-python/23/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4abaee078ef35dbef883b3c261921813ca87c8b28194c6ac7402fefa7e368ead/webflow/webflow-python/issues/23
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4abaee078ef35dbef883b3c261921813ca87c8b28194c6ac7402fefa7e368ead/webflow/webflow-python/issues/23
og:image:altHello, I'm new to the WebFlow python client, but I'm trying to programmatically update a CMS item in a collection, including some custom fields I defined. However, when I issue the following reques...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevanwars
hostnamegithub.com
expected-hostnamegithub.com
None0959b1a93ca48b0c88b3bddbdfd04ca43f388cb1a8293105a28c5ef6e8079db8
turbo-cache-controlno-preview
go-importgithub.com/webflow/webflow-python git https://github.com/webflow/webflow-python.git
octolytics-dimension-user_id1229663
octolytics-dimension-user_loginwebflow
octolytics-dimension-repository_id716241484
octolytics-dimension-repository_nwowebflow/webflow-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id716241484
octolytics-dimension-repository_network_root_nwowebflow/webflow-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
release78307334c66591a8f87f493dd2968126b34961dd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/webflow/webflow-python/issues/23#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwebflow%2Fwebflow-python%2Fissues%2F23
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwebflow%2Fwebflow-python%2Fissues%2F23
Sign up https://patch-diff.githubusercontent.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=webflow%2Fwebflow-python
Reloadhttps://patch-diff.githubusercontent.com/webflow/webflow-python/issues/23
Reloadhttps://patch-diff.githubusercontent.com/webflow/webflow-python/issues/23
Reloadhttps://patch-diff.githubusercontent.com/webflow/webflow-python/issues/23
webflow https://patch-diff.githubusercontent.com/webflow
webflow-pythonhttps://patch-diff.githubusercontent.com/webflow/webflow-python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fwebflow%2Fwebflow-python
Fork 11 https://patch-diff.githubusercontent.com/login?return_to=%2Fwebflow%2Fwebflow-python
Star 21 https://patch-diff.githubusercontent.com/login?return_to=%2Fwebflow%2Fwebflow-python
Code https://patch-diff.githubusercontent.com/webflow/webflow-python
Issues 9 https://patch-diff.githubusercontent.com/webflow/webflow-python/issues
Pull requests 102 https://patch-diff.githubusercontent.com/webflow/webflow-python/pulls
Actions https://patch-diff.githubusercontent.com/webflow/webflow-python/actions
Projects 0 https://patch-diff.githubusercontent.com/webflow/webflow-python/projects
Security 0 https://patch-diff.githubusercontent.com/webflow/webflow-python/security
Insights https://patch-diff.githubusercontent.com/webflow/webflow-python/pulse
Code https://patch-diff.githubusercontent.com/webflow/webflow-python
Issues https://patch-diff.githubusercontent.com/webflow/webflow-python/issues
Pull requests https://patch-diff.githubusercontent.com/webflow/webflow-python/pulls
Actions https://patch-diff.githubusercontent.com/webflow/webflow-python/actions
Projects https://patch-diff.githubusercontent.com/webflow/webflow-python/projects
Security https://patch-diff.githubusercontent.com/webflow/webflow-python/security
Insights https://patch-diff.githubusercontent.com/webflow/webflow-python/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/webflow/webflow-python/issues/23
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/webflow/webflow-python/issues/23
PATCH doesn't allow custom data fieldshttps://patch-diff.githubusercontent.com/webflow/webflow-python/issues/23#top
https://github.com/vanwars
https://github.com/vanwars
vanwarshttps://github.com/vanwars
on Oct 17, 2024https://github.com/webflow/webflow-python/issues/23#issue-2594884902
https://developers.webflow.com/data/reference/cms/collection-items/items/update-itemhttps://developers.webflow.com/data/reference/cms/collection-items/items/update-item
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.