You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call the ModelInstanceDocument.create method , The server reported an error : ERROR: Error: Invalid 'model' metadata property in Model stream: kh4q0kq8h3j3zb52p8gjcayuwrdpt
2
But apparently the string kh4q0kq8h3j3zb52p8gjcayuwrdpt doesn't match my model stream id (kjzl6hvfrbw6c59v2kgsss471xbd0wzl2pvy6pj22mcxrkxuzz85vnfbjohw1yo)
Then I added this id to the configuration file: daemon.config.json
The server report ERROR: Error while loading commit CID bafyxccyabfug233emvwc25rr from IPFS for stream kh4q0kq8h3j3zb52p8gjcayuwrdpt:HTTPError: potentially insecure hash functions not allowed
Even modifying the source code won't fix it
The text was updated successfully, but these errors were encountered:
Sorry, these libraries aren't really ready to use yet and may have bugs or rough edges.
That error is from a mismatch between the client and server libraries. Make sure both your server (@ceramicnetwork/cli) and client (@ceramicnetwork/http-client, @ceramicnetwork/stream-model, and @ceramic/stream-model-instance) packages are all on the most recent RC version, and then re-create all your Models and ModelInstanceDocuments and that should resolve things
Describe the bug
1
When I call the
ModelInstanceDocument.create
method , The server reported an error :ERROR: Error: Invalid 'model' metadata property in Model stream: kh4q0kq8h3j3zb52p8gjcayuwrdpt
2
But apparently the string
kh4q0kq8h3j3zb52p8gjcayuwrdpt
doesn't match my model stream id (kjzl6hvfrbw6c59v2kgsss471xbd0wzl2pvy6pj22mcxrkxuzz85vnfbjohw1yo
)Then I added this id to the configuration file: daemon.config.json
The problem is not solved at this time
3
Then I modified the source code and it works fine
disable this line:
https://github.com/ceramicnetwork/js-ceramic/blob/develop/packages/stream-model-handler/src/model-handler.ts#L126
Ceramic versions
2.5.0 and 2.5.0-rc.0 and 2.5.0-rc.1
Machine, OS, browser information (please complete the following information):
ubuntu
Additional context
If I change the order of the models in the configuration file ,eg.:
The server report
ERROR: Error while loading commit CID bafyxccyabfug233emvwc25rr from IPFS for stream kh4q0kq8h3j3zb52p8gjcayuwrdpt:HTTPError: potentially insecure hash functions not allowed
Even modifying the source code won't fix it
The text was updated successfully, but these errors were encountered: