René's URL Explorer Experiment


Title: fix: use correct type in GitDataClient::updateReference body by ckolek-figs · Pull Request #256 · spotify/github-java-client · GitHub

Open Graph Title: fix: use correct type in GitDataClient::updateReference body by ckolek-figs · Pull Request #256 · spotify/github-java-client

X Title: fix: use correct type in GitDataClient::updateReference body by ckolek-figs · Pull Request #256 · spotify/github-java-client

Description: to fix java.util.concurrent.CompletionException: com.spotify.github.v3.exceptions.RequestNotOkException: PATCH /repos///git/refs/main 422: {"message":"Invalid request.\n\nFor 'properties/force', \"false\" is not a boolean.","documentation_url":"https://docs.github.com/rest/git/refs#update-a-reference","status":"422"} at java.base/java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:368) ~[na:na] at java.base/java.util.concurrent.CompletableFuture.completeRelay(CompletableFuture.java:377) ~[na:na] at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1152) ~[na:na] at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[na:na] at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2179) ~[na:na] at com.spotify.github.http.okhttp.OkHttpHttpClient$1.onResponse(OkHttpHttpClient.java:89) ~[github-client-0.5.2.jar:0.5.2] at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519) ~[okhttp-4.12.0.jar:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[na:na] at java.base/java.lang.Thread.run(Thread.java:1583) ~[na:na] Caused by: com.spotify.github.v3.exceptions.RequestNotOkException: PATCH /repos///git/refs/main 422: {"message":"Invalid request.\n\nFor 'properties/force', \"false\" is not a boolean.","documentation_url":"https://docs.github.com/rest/git/refs#update-a-reference","status":"422"} at com.spotify.github.v3.clients.GitHubClient.mapException(GitHubClient.java:1184) ~[github-client-0.5.2.jar:0.5.2] at com.spotify.github.v3.clients.GitHubClient.lambda$handleResponse$24(GitHubClient.java:1145) ~[github-client-0.5.2.jar:0.5.2] at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934) ~[na:na] at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950) ~[na:na] at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2372) ~[na:na] at com.spotify.github.v3.clients.GitHubClient.handleResponse(GitHubClient.java:1139) ~[github-client-0.5.2.jar:0.5.2] at com.spotify.github.v3.clients.GitHubClient.lambda$call$23(GitHubClient.java:1122) ~[github-client-0.5.2.jar:0.5.2] at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) ~[na:na] ... 7 common frames omitted

Open Graph Description: to fix java.util.concurrent.CompletionException: com.spotify.github.v3.exceptions.RequestNotOkException: PATCH /repos/<org>/<repo>/git/refs/main 422: {"message":"Invalid ...

X Description: to fix java.util.concurrent.CompletionException: com.spotify.github.v3.exceptions.RequestNotOkException: PATCH /repos/&lt;org&gt;/&lt;repo&gt;/git/refs/main 422: {&quot;message&...

Opengraph URL: https://github.com/spotify/github-java-client/pull/256

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:fe0caa41-142b-0a90-80aa-7c2da424bf3c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBA0A:C551D:53EC17C:72D8D48:697825F5
html-safe-nonce3a58d7746eaaa5d283aab7b83bf8accf4dc554dbbd8c5cb235f1167b0bcf7513
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTBBOkM1NTFEOjUzRUMxN0M6NzJEOEQ0ODo2OTc4MjVGNSIsInZpc2l0b3JfaWQiOiIyMzExMjcyMDcyOTgzNjE5MDYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac66e3ca47b333cb626ad36724ceff9e437ca98c58f9cab4ff6abaa7514119185d
hovercard-subject-tagpull_request:3065563870
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/spotify/github-java-client/pull/256/files
twitter:imagehttps://avatars.githubusercontent.com/u/144356728?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/144356728?s=400&v=4
og:image:altto fix java.util.concurrent.CompletionException: com.spotify.github.v3.exceptions.RequestNotOkException: PATCH /repos/<org>/<repo>/git/refs/main 422: {"message":"Invalid ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/spotify/github-java-client git https://github.com/spotify/github-java-client.git
octolytics-dimension-user_id251374
octolytics-dimension-user_loginspotify
octolytics-dimension-repository_id254401089
octolytics-dimension-repository_nwospotify/github-java-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id254401089
octolytics-dimension-repository_network_root_nwospotify/github-java-client
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8cc3e064910e26648760f573a358cfc07c97b42c
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fspotify%2Fgithub-java-client%2Fpull%2F256%2Ffiles
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%2Fspotify%2Fgithub-java-client%2Fpull%2F256%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=spotify%2Fgithub-java-client
Reloadhttps://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files
Reloadhttps://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files
Reloadhttps://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files
spotify https://patch-diff.githubusercontent.com/spotify
github-java-clienthttps://patch-diff.githubusercontent.com/spotify/github-java-client
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fspotify%2Fgithub-java-client
Fork 97 https://patch-diff.githubusercontent.com/login?return_to=%2Fspotify%2Fgithub-java-client
Star 148 https://patch-diff.githubusercontent.com/login?return_to=%2Fspotify%2Fgithub-java-client
Code https://patch-diff.githubusercontent.com/spotify/github-java-client
Issues 11 https://patch-diff.githubusercontent.com/spotify/github-java-client/issues
Pull requests 7 https://patch-diff.githubusercontent.com/spotify/github-java-client/pulls
Actions https://patch-diff.githubusercontent.com/spotify/github-java-client/actions
Security 0 https://patch-diff.githubusercontent.com/spotify/github-java-client/security
Insights https://patch-diff.githubusercontent.com/spotify/github-java-client/pulse
Code https://patch-diff.githubusercontent.com/spotify/github-java-client
Issues https://patch-diff.githubusercontent.com/spotify/github-java-client/issues
Pull requests https://patch-diff.githubusercontent.com/spotify/github-java-client/pulls
Actions https://patch-diff.githubusercontent.com/spotify/github-java-client/actions
Security https://patch-diff.githubusercontent.com/spotify/github-java-client/security
Insights https://patch-diff.githubusercontent.com/spotify/github-java-client/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fspotify%2Fgithub-java-client%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fspotify%2Fgithub-java-client%2Fissues%2Fnew%2Fchoose
ckolek-figshttps://patch-diff.githubusercontent.com/ckolek-figs
spotify:masterhttps://patch-diff.githubusercontent.com/spotify/github-java-client/tree/master
figs-engineering:bugfix/git-data-client-update-ref-forcehttps://patch-diff.githubusercontent.com/figs-engineering/github-java-client/tree/bugfix/git-data-client-update-ref-force
Conversation 1 https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256
Commits 2 https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/commits
Checks 3 https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/checks
Files changed https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files
Please reload this pagehttps://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files
fix: use correct type in GitDataClient::updateReference body https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files#top
Show all changes 2 commits https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files
024f85b fix: use correct type in GitDataClient::updateReference body ckolek-figs Dec 3, 2025 https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/commits/024f85b84fa6a50159f92ffcb72bb9792d93d9bd
3f5e291 Merge branch 'master' into bugfix/git-data-client-update-ref-force ckolek-figs Jan 14, 2026 https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/commits/3f5e291ecf72c633122a58bbf1385edcf5e11aaf
Clear filters https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files
Please reload this pagehttps://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files
Please reload this pagehttps://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files
GitDataClient.java https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files#diff-41ae5baa4f1937563d139209bbf9db659c157129d8ff2c4c42d350c623795769
GitDataClientTest.java https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files#diff-effc889128e5aaa8118df1a70e1c6424169f4293e155f7bf86b643c6895ed6d9
src/main/java/com/spotify/github/v3/clients/GitDataClient.javahttps://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files#diff-41ae5baa4f1937563d139209bbf9db659c157129d8ff2c4c42d350c623795769
View file https://patch-diff.githubusercontent.com/spotify/github-java-client/blob/3f5e291ecf72c633122a58bbf1385edcf5e11aaf/src/main/java/com/spotify/github/v3/clients/GitDataClient.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files#diff-41ae5baa4f1937563d139209bbf9db659c157129d8ff2c4c42d350c623795769
https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files#diff-41ae5baa4f1937563d139209bbf9db659c157129d8ff2c4c42d350c623795769
src/test/java/com/spotify/github/v3/clients/GitDataClientTest.javahttps://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files#diff-effc889128e5aaa8118df1a70e1c6424169f4293e155f7bf86b643c6895ed6d9
View file https://patch-diff.githubusercontent.com/spotify/github-java-client/blob/3f5e291ecf72c633122a58bbf1385edcf5e11aaf/src/test/java/com/spotify/github/v3/clients/GitDataClientTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files#diff-effc889128e5aaa8118df1a70e1c6424169f4293e155f7bf86b643c6895ed6d9
https://patch-diff.githubusercontent.com/spotify/github-java-client/pull/256/files#diff-effc889128e5aaa8118df1a70e1c6424169f4293e155f7bf86b643c6895ed6d9
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.