I am getting this error while calling createPost can someone please help?
- undefined Orbis
Expert
I am getting this error while calling createPost can someone please help? ``` Error creating TileDocument: TypeError: Cannot read properties of undefined (reading 'id') at Orbis.createTileDocument (index.js?bc7c:1138:1) at Orbis.createPost (index.js?bc7c:689:1) {status: 300, error: TypeError: Cannot read properties of undefined (reading 'id') at Orbis.createTileDocument (webp…, result: 'Error creating TileDocument.'} ~response ```
Answers 1
This is because your user isn't connected to Ceramic, make sure to call the connect_v2 or isConnected function before calling the createPost function Also you need to use the same orbis object across your application