René's URL Explorer Experiment


Title: Wallet creation endpoint not working after refactor introduced recently · Issue #7218 · BitGo/BitGoJS · GitHub

Open Graph Title: Wallet creation endpoint not working after refactor introduced recently · Issue #7218 · BitGo/BitGoJS

X Title: Wallet creation endpoint not working after refactor introduced recently · Issue #7218 · BitGo/BitGoJS

Description: Creation of wallet address endpoint POST /api/v2/{coin}/wallet/{walletId}/address is not working anymore, and even the error doesn't follow the error format specified in the endpoint documentation here https://developers.bitgo.com/api/v2...

Open Graph Description: Creation of wallet address endpoint POST /api/v2/{coin}/wallet/{walletId}/address is not working anymore, and even the error doesn't follow the error format specified in the endpoint documentation ...

X Description: Creation of wallet address endpoint POST /api/v2/{coin}/wallet/{walletId}/address is not working anymore, and even the error doesn't follow the error format specified in the endpoint documentat...

Opengraph URL: https://github.com/BitGo/BitGoJS/issues/7218

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wallet creation endpoint not working after refactor introduced recently","articleBody":"Creation of wallet address endpoint `POST /api/v2/{coin}/wallet/{walletId}/address` is not working anymore, and even the error doesn't follow the error format specified in the endpoint documentation here https://developers.bitgo.com/api/v2.wallet.newaddress.\n \nHere is a POST request example with curl we tried against a BitGoJS Express instance we run, using a HTETH wallet (testnet coin):\n\n```sh\ncurl -i -X POST \"http://bitgo-express:3080/api/v2/hteth/wallet/{MY_WALLET}/address\" \\\n     -H \"Content-Type: application/json\" -H \"Accept: application/json\" \\\n     -H \"Bearer {MY_TOKEN}\" \\\n     -d '{\"label\": \"my-address-10\", \"forwarderVersion\": 2}'\n```\n\nResponse:\n\n```\nHTTP/1.1 400 Bad Request\nX-Powered-By: Express\nContent-Type: application/json; charset=utf-8\nContent-Length: 158\nETag: W/\"9e-SCCh1WHc45CyixlBppDuHU6JGvU\"\nDate: Mon, 13 Oct 2025 13:19:22 GMT\nConnection: keep-alive\nKeep-Alive: timeout=5\n\n[\"Invalid value undefined supplied to : httpRequest/params: Exact\u003c({ coin: string, id: string } \u0026 Partial\u003c{  }\u003e)\u003e/0: { coin: string, id: string }/id: string\"]\n```\n\n## Environment Details\n\n- **OS:** we run BitGoJS with Docker using the official image `bitgo/express:15.6.0`\n- **Node Version:** Same we don't run it in our own version of Node\n- **Yarn Version:** Same above\n- **BitGoJS Version:** 15.6.0\n- **BitGo Environment:** testnet, coin HTETH\n\n## Expected Behavior\n\nAn HTTP 200 OK response, with a wallet address created.\n\n## Current Behavior\n\nAn HTTP 400 Bad Request response, with an validation error that is wrong, an no wallet address created.\n\nAlso the JSON response error doesn't follow the especification from the official documentation. Unexpected errors like this should be normalized through some sort of middleware that prevent the API to serialize error in whatever format not documented.\n\n## Possible Solution\n\nThe bug is in the source code of BitGo Express as far I understand, and it was introduced in a refactor here https://github.com/BitGo/BitGoJS/commit/4753b915ce798368be764b6ca99a31da28a11d1a#diff-2d63afad20775469d35fa72b1fc535af8b6daf51cf2aaa055983dd36ace25400L13-L16:\n\n```diff\n-  walletId: t.string,\n+  id: t.string,\n```\n\nAnd here in the same commit https://github.com/BitGo/BitGoJS/commit/4753b915ce798368be764b6ca99a31da28a11d1a#diff-851997953dfe5ce12d4c10bbabf8afa6bc49777505aae9197b0bcc6534da6677L666:\n\n```diff\n- const wallet = await coin.wallets().get({ id: req.decoded.walletId });\n+ const wallet = await coin.wallets().get({ id: req.decoded.id });\n```\n\nThere the param argument was renamed from `walletId` to `id`, but it was not renamed in the path definition here https://github.com/BitGo/BitGoJS/blob/004035b88551c5808a985f9deb66c06269c1f9dc/modules/express/src/typedRoutes/api/v2/createAddress.ts#L69\n\nCC @danielzhao122\n\n## Steps to Reproduce\n\nOnly one step described above.\n","author":{"url":"https://github.com/mrsarm","@type":"Person","name":"mrsarm"},"datePublished":"2025-10-13T13:57:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/7218/BitGoJS/issues/7218"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:77c10b70-f92a-32d9-c2bb-11561037dd2c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAB8E:3D126:19C2AC5:2107DB5:6990EF0F
html-safe-nonce5633d522187b4ab334390df313aba1abfb7745290826afd93be40d076ef8e04f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjhFOjNEMTI2OjE5QzJBQzU6MjEwN0RCNTo2OTkwRUYwRiIsInZpc2l0b3JfaWQiOiI1NzIxMjU3NzY3MDUxNzgzOTUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac33244924fb844b7267b52902ce098225021c30b50f0002b9ea0dfa1c00ce913e
hovercard-subject-tagissue:3510190629
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/BitGo/BitGoJS/7218/issue_layout
twitter:imagehttps://opengraph.githubassets.com/67f69d8cec9c258725eaf06fbc39fa24ce99474385762cb367d1960d7de11187/BitGo/BitGoJS/issues/7218
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/67f69d8cec9c258725eaf06fbc39fa24ce99474385762cb367d1960d7de11187/BitGo/BitGoJS/issues/7218
og:image:altCreation of wallet address endpoint POST /api/v2/{coin}/wallet/{walletId}/address is not working anymore, and even the error doesn't follow the error format specified in the endpoint documentation ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemrsarm
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/BitGo/BitGoJS git https://github.com/BitGo/BitGoJS.git
octolytics-dimension-user_id6267684
octolytics-dimension-user_loginBitGo
octolytics-dimension-repository_id20121980
octolytics-dimension-repository_nwoBitGo/BitGoJS
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20121980
octolytics-dimension-repository_network_root_nwoBitGo/BitGoJS
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
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/BitGo/BitGoJS/issues/7218#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FBitGo%2FBitGoJS%2Fissues%2F7218
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%2FBitGo%2FBitGoJS%2Fissues%2F7218
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=BitGo%2FBitGoJS
Reloadhttps://patch-diff.githubusercontent.com/BitGo/BitGoJS/issues/7218
Reloadhttps://patch-diff.githubusercontent.com/BitGo/BitGoJS/issues/7218
Reloadhttps://patch-diff.githubusercontent.com/BitGo/BitGoJS/issues/7218
BitGo https://patch-diff.githubusercontent.com/BitGo
BitGoJShttps://patch-diff.githubusercontent.com/BitGo/BitGoJS
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FBitGo%2FBitGoJS
Fork 301 https://patch-diff.githubusercontent.com/login?return_to=%2FBitGo%2FBitGoJS
Star 389 https://patch-diff.githubusercontent.com/login?return_to=%2FBitGo%2FBitGoJS
Code https://patch-diff.githubusercontent.com/BitGo/BitGoJS
Issues 41 https://patch-diff.githubusercontent.com/BitGo/BitGoJS/issues
Pull requests 23 https://patch-diff.githubusercontent.com/BitGo/BitGoJS/pulls
Actions https://patch-diff.githubusercontent.com/BitGo/BitGoJS/actions
Projects 0 https://patch-diff.githubusercontent.com/BitGo/BitGoJS/projects
Security 0 https://patch-diff.githubusercontent.com/BitGo/BitGoJS/security
Insights https://patch-diff.githubusercontent.com/BitGo/BitGoJS/pulse
Code https://patch-diff.githubusercontent.com/BitGo/BitGoJS
Issues https://patch-diff.githubusercontent.com/BitGo/BitGoJS/issues
Pull requests https://patch-diff.githubusercontent.com/BitGo/BitGoJS/pulls
Actions https://patch-diff.githubusercontent.com/BitGo/BitGoJS/actions
Projects https://patch-diff.githubusercontent.com/BitGo/BitGoJS/projects
Security https://patch-diff.githubusercontent.com/BitGo/BitGoJS/security
Insights https://patch-diff.githubusercontent.com/BitGo/BitGoJS/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/BitGo/BitGoJS/issues/7218
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/BitGo/BitGoJS/issues/7218
Wallet creation endpoint not working after refactor introduced recentlyhttps://patch-diff.githubusercontent.com/BitGo/BitGoJS/issues/7218#top
bughttps://github.com/BitGo/BitGoJS/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/mrsarm
https://github.com/mrsarm
mrsarmhttps://github.com/mrsarm
on Oct 13, 2025https://github.com/BitGo/BitGoJS/issues/7218#issue-3510190629
https://developers.bitgo.com/api/v2.wallet.newaddresshttps://developers.bitgo.com/api/v2.wallet.newaddress
4753b91#diff-2d63afad20775469d35fa72b1fc535af8b6daf51cf2aaa055983dd36ace25400L13-L16https://github.com/BitGo/BitGoJS/commit/4753b915ce798368be764b6ca99a31da28a11d1a#diff-2d63afad20775469d35fa72b1fc535af8b6daf51cf2aaa055983dd36ace25400L13-L16
4753b91#diff-851997953dfe5ce12d4c10bbabf8afa6bc49777505aae9197b0bcc6534da6677L666https://github.com/BitGo/BitGoJS/commit/4753b915ce798368be764b6ca99a31da28a11d1a#diff-851997953dfe5ce12d4c10bbabf8afa6bc49777505aae9197b0bcc6534da6677L666
BitGoJS/modules/express/src/typedRoutes/api/v2/createAddress.tshttps://github.com/BitGo/BitGoJS/blob/004035b88551c5808a985f9deb66c06269c1f9dc/modules/express/src/typedRoutes/api/v2/createAddress.ts#L69
004035bhttps://patch-diff.githubusercontent.com/BitGo/BitGoJS/commit/004035b88551c5808a985f9deb66c06269c1f9dc
@danielzhao122https://github.com/danielzhao122
bughttps://github.com/BitGo/BitGoJS/issues?q=state%3Aopen%20label%3A%22bug%22
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.