question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] - Not able to initialize a room storage with API endpoint

See original GitHub issue

Hi there, i am trying to do POST call to https://liveblocks.net/api/v1/room/:roomId/storage/json with some sample data which contains shapes of tldraw board, but its not working. It’s not saving that json on liveblocks storage against that room. Not able to figure out what is the expected JSON for API, also nothing specific mentioned in documentations or examples as well.

Here is the sample JSON i am trying to pass { shapes: { heading: { id: "heading", childIndex: 1, parentId: "page1", name: "Text", type: "text", point: [200, 10], style: { dash: "draw", size: "small", color: "black", }, text: "Something exciting here...", }, __liveblocksType: "LiveMap", }, bindings: { __liveblocksType: "LiveMap", }, assets: { __liveblocksType: "LiveMap", }, }

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
GadhariSachincommented, Apr 25, 2022

hey @ofoucherot Thanks for the new update. This is now working perfectly fine with new endpoints.

0reactions
ofoucherotcommented, Apr 29, 2022

@AdityaRajSingh A fix has been deployed yesterday. You can now initialize a room that already exists (created by the authorize endpoint), if the storage is empty.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Dataflow errors - Google Cloud
A pod is a co-located group of Docker containers running on a Dataflow worker. This error occurs when one of the Docker containers...
Read more >
Storage Migration Service known issues - Microsoft Learn
Known issues and troubleshooting support for Storage Migration Service, such as how to collect logs for Microsoft Support.
Read more >
Client-Server API - Matrix Specification
M_INCOMPATIBLE_ROOM_VERSION The client attempted to join a room that has a version the server does not support. Inspect the room_version property of the...
Read more >
Error and Warning Dictionary | Twilio
Below is a full list of all possible Twilio REST API error codes. Read our guidance on debugging your Twilio application for general...
Read more >
Troubleshooting Amazon OpenSearch Service
You might receive a ClusterBlockException error for the following reasons. Lack of available storage space. If one or more nodes in your cluster...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found