there are following problems with this link and page:
1. "UHYGbH" part can be replaced by anything: it seems like it was supposed to be security measure against extracting database of public characters but if i delete or replace this code i still have access to character
2. i can't (404) add "/json" to URL to get machine-readable format like i can do with "dndbeyond.com/profile/USERNAME/characters/1/json" page
3. page looks like this in any browser with all plugins disabled if i'm not logged in:
I'm also experiencing this. Have tried it on 3 different computers in Chrome, Edge, Firefox and Internet Explorer. Page will either look like the one in the OP or like the one I've attached. I don't know if this is something new or not as so far I've only looked at my own sheets or shared with others who had D&D Beyond accounts.
Thanks for the report for #3. We were doing a slow percentage rollout of a new bundling of the character sheet and had a misconfiguration for anonymous users. This should be fixed now.
In re: #1, the random letters/numbers are actually a cache breaking mechanism. Every time you click to share the sheet, we send off a request to the server to regenerate the "og:image" tag so that when twitter/facebook sees the URL it will get the latest image since it is a new URL.
in re: #2, we have certain redirection rules for the ddb.ac domain, and not every URL will work. The intention is to add easy, short sharing URLs, not be an alternate domain to browse on.
For #2, that route does exist and does work. Your character is 404'ing and does not exist, but the route definitely does exist for a public, active character. Try it with another character and you should be good.
BUT, it all does not matter because i simply misunderstood intent of "/json":
* i thought that it's intent is to be API to pull latest character info of anypublic character in JSON format automatically from third party services to provide integration of dndbeyond
* it's real intent is to provide ability for user to copy-pastehis own character in JSON format into third party services to make one time export of current character state
Sorry my quick glance at the network request I missed the small difference:
HTML display route: /characters/123/ JSON route: /character/123/json
And I should probably make sure I legally note: The APIs are not officially supported publicly and are likely to change. Needed to make sure I cover my bases heh.
if i generate a share link for a character i get something like this: http://ddb.ac/characters/1/UHYGbH
there are following problems with this link and page:
1. "UHYGbH" part can be replaced by anything: it seems like it was supposed to be security measure against extracting database of public characters but if i delete or replace this code i still have access to character
2. i can't (404) add "/json" to URL to get machine-readable format like i can do with "dndbeyond.com/profile/USERNAME/characters/1/json" page
3. page looks like this in any browser with all plugins disabled if i'm not logged in:
I experience the same issue (#3) for public URL if one is not authenticated to the site it seems.
IchiSkaar
I'm also experiencing this. Have tried it on 3 different computers in Chrome, Edge, Firefox and Internet Explorer. Page will either look like the one in the OP or like the one I've attached. I don't know if this is something new or not as so far I've only looked at my own sheets or shared with others who had D&D Beyond accounts.
Thanks for the report for #3. We were doing a slow percentage rollout of a new bundling of the character sheet and had a misconfiguration for anonymous users. This should be fixed now.
In re: #1, the random letters/numbers are actually a cache breaking mechanism. Every time you click to share the sheet, we send off a request to the server to regenerate the "og:image" tag so that when twitter/facebook sees the URL it will get the latest image since it is a new URL.
in re: #2, we have certain redirection rules for the ddb.ac domain, and not every URL will work. The intention is to add easy, short sharing URLs, not be an alternate domain to browse on.
Hope this helps and thanks again.
#3 is fixed for me. Thanks!!
IchiSkaar
#1 thanks for the clarification: i didn't know about image generation feature and it's really nice
#2
i misunderstood the intent of "/json"UPD: i'm wrong about being wrong: it's just on different URL: https://www.dndbeyond.com/forums/d-d-beyond-general/bugs-support/40007-dndbeyond-com-characters-xxx-share-page-problems?comment=10#3 fixed for me, thanks
can be closed now.
For #2, that route does exist and does work. Your character is 404'ing and does not exist, but the route definitely does exist for a public, active character. Try it with another character and you should be good.
* if i am authorized and looking at my public character:
1. https://www.dndbeyond.com/characters/12627395 works (HTML)
2. https://www.dndbeyond.com/profile/Mr3AD/characters/12627395 works (HTML)
3. https://www.dndbeyond.com/profile/Mr3AD/characters/12627395/json works (JSON)
4. https://www.dndbeyond.com/characters/12627395/json html page №1 (HTML - not JSON)
* if i am authorized and looking at somebody else's public character:
1. https://www.dndbeyond.com/characters/12627395 works (HTML)
2. https://www.dndbeyond.com/profile/Mr3AD/characters/12627395 redirects to №1 (HTML)
3. https://www.dndbeyond.com/profile/Mr3AD/characters/12627395/json 404 (JSON)
4. https://www.dndbeyond.com/characters/12627395/json html page №1 (HTML - not JSON)
* if i am not authorized and looking at public character:
1. https://www.dndbeyond.com/characters/12627395 works (HTML)
2. https://www.dndbeyond.com/profile/Mr3AD/characters/12627395 redirects to №1 (HTML)
3. https://www.dndbeyond.com/profile/Mr3AD/characters/12627395/json 403 without http body (EMPTY)
4. https://www.dndbeyond.com/characters/12627395/json html page №1 (HTML - not JSON)
* i also tried it with shareable link (https://www.dndbeyond.com/characters/12627395/mB0eAA):
* https://www.dndbeyond.com/characters/12627395/mB0eAA/json 404 (HTML)
* https://www.dndbeyond.com/characters/12627395/json/mB0eAA 404 (HTML)
* https://www.dndbeyond.com/characters/12627395/mB0eAA.json 404 (HTML)
BUT, it all does not matter because i simply misunderstood intent of "/json":* i thought that it's intent is to be API to pull latest character info of any public character in JSON format automatically from third party services to provide integration of dndbeyond* it's real intent is to provide ability for user to copy-paste his own character in JSON format into third party services to make one time export of current character stateUPD: i'm wrong about being wrong: it's just on different URL: https://www.dndbeyond.com/forums/d-d-beyond-general/bugs-support/40007-dndbeyond-com-characters-xxx-share-page-problems?comment=10
UPD2: deleted 12627395 character
Sorry my quick glance at the network request I missed the small difference:
HTML display route: /characters/123/
JSON route: /character/123/json
And I should probably make sure I legally note: The APIs are not officially supported publicly and are likely to change. Needed to make sure I cover my bases heh.
oh, that works.
i guess i was wrong about being wrong.
thank you.
i understand that it is unofficial unsupported no-guarantees to-be-changed-or-removed-any-time API, but it's better than nothing.
now thread truly can be closed.