{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiaweh4oyqzulqaqviqnzcddjrfxzy7esiyj5jxwg3kkegcmuawkhi",
"uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3mowrllgba3w2"
},
"path": "/t/gradio-web-components-failing-to-load/177067#post_5",
"publishedAt": "2026-06-23T04:58:47.000Z",
"site": "https://discuss.huggingface.co",
"tags": [
"https://huggingface.co/api/spaces/owner/space"
],
"textContent": "I created a brand new app from stratch using gradio sdk version 6.19.0. Deployed successfully.\n\n# **Results**\n\n## Test 1 (works)\n\nDirect access to https://[space-subdomain].hf.space\n\n## Test 2 (works)\n\nDirect access to https://[space-subdomain].hf.space/config\n\n## Test 3 (works)\n\niFrame works.\n\n## Test 4 (fails)\n\nEmbedding as web component with subdomain fails.\n\n\n <gradio-app src=\"https://[space-subdomain].hf.space\">\n\n\n## Test 5 (fails)\n\nEmbedding web compontent with owner/space fails.\n\n\n <gradio-app space=\"<owner>/<space_name>\">\n\n\n## Test 6 (fails)\n\nCalling the URL below will fail:\n\n\n https://huggingface.co/api/spaces/by-subdomain/[subdomain]\n\n\nResult:\n\n\n HTTP/2 400\n content-type: application/json; charset=utf-8\n content-length: 89\n date: Tue, 23 Jun 2026 04:39:50 GMT\n etag: W/\"59-W4Wj6ETpoa9k7JmLJHDRpTMRfQU\"\n x-powered-by: huggingface-moon\n x-request-id: Root=1-6a3a0e16-3c72985c5f7ccbf1605d998f\n ratelimit: \"api\";r=499;t=103\n ratelimit-policy: \"fixed window\";\"api\";q=500;w=300\n cross-origin-opener-policy: same-origin\n referrer-policy: strict-origin-when-cross-origin\n access-control-max-age: 86400\n access-control-allow-origin: https://huggingface.co\n vary: Origin\n access-control-expose-headers: X-Repo-Commit,X-Request-Id,X-Error-Code,X-Error-Message,X-Total-Count,ETag,Link,Accept-Ranges,Content-Range,X-Linked-Size,X-Linked-ETag,X-Xet-Hash\n x-error-message: Invalid repo name: owner/space - repo name includes an url-encoded slash\n x-cache: Error from cloudfront\n via: 1.1 744a1a944313f4cfdfc83fe056d50e50.cloudfront.net (CloudFront)\n x-amz-cf-pop: SIN2-P7\n x-amz-cf-id: b56oFSz97_nflnS2BDFZGFm1wwInQ2B_HuKJVIlGNwqTJ7XaPg_Gdg==\n\n {\"error\":\"Invalid repo name: owner/space - repo name includes an url-encoded slash\"}\n\n\n## Test 7 (works)\n\nhttps://huggingface.co/api/spaces/owner/space\n\nI’m stuck on what to try next here!",
"title": "Gradio web components failing to load"
}