Metadata hash 441b9141b36220bfe90b83fa348f628cdcb10eb99649659dd6c4d13ce315c832 doesn’t match registered hash cf8fa3cd3d96ca7990ec84a6f6e99083718731fccb25eda7e5811c2d7a761fde
I can’t figure out how to get this to properly match.
I created a gist, put my metadata in there. Took the raw data of that and shortened the link to get the URL hash.
Any suggestions on what the issue could be?
It is not obvious to me where the branch option is for gists.
Give me the link and I will show u
Or go to my guide and check there
That is the registered url:
but now it seems working:
$ wget https://git.io/J3T5S
--2021-05-24 17:16:39-- https://git.io/J3T5S
Resolving git.io (git.io)... 126.96.36.199, 188.8.131.52, 184.108.40.206, ...
Connecting to git.io (git.io)|220.127.116.11|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://gist.githubusercontent.com/austinnegron/9b44c804e2021dc82098d7b72cb0b1ca/raw/72fbc0edad40e2df1f55d308be49af950c1a93e1/tca_metadata_v2 [following]
--2021-05-24 17:16:39-- https://gist.githubusercontent.com/austinnegron/9b44c804e2021dc82098d7b72cb0b1ca/raw/72fbc0edad40e2df1f55d308be49af950c1a93e1/tca_metadata_v2
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 18.104.22.168, 22.214.171.124, 126.96.36.199, ...
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|188.8.131.52|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 145 [text/plain]
Saving to: ‘J3T5S’
J3T5S 100%[=====================================================================================================>] 145 --.-KB/s in 0s
2021-05-24 17:16:39 (2.29 MB/s) - ‘J3T5S’ saved [145/145]
the only problem could be is that there is no HTTP content header with applicaton/json
Hi Laplasz… it worked. And I’m not entirely sure why.
My solution was to keep hashing my metadata.json until it gave me the same hash from the git url. I guess it was just guess & check for me. Cheers.
Thank you Alex. Taking the raw data from the repo worked much better than taking the raw data from the gist. Cheers.