loopbackio / loopback-connector-cassandra

Cassandra connector for the LoopBack framework.
Other
13 stars 22 forks source link

Unconfigured table <tablename> #88

Closed satheshramasamy closed 3 years ago

satheshramasamy commented 4 years ago

Im working with loopback 4 and cassandra,

Model, controller, repository and datasource are created successfully, Also loopback 4 server started without any error. At the time of post or get a method form model im getting error msg "unconfigured Table tablename". Table already created in database manually.

Unhandled error in GET /testmodels: 500 ResponseError: unconfigured table Testmodel at FrameReader.readError (D:\version2\lb4\explore\node_modules\cassandra-driver\lib\readers.js:326:15) at Parser.parseBody (D:\version2\lb4\explore\node_modules\cassandra-driver\lib\streams.js:194:66) at Parser._transform (D:\version2\lb4\explore\node_modules\cassandra-driver\lib\streams.js:137:10) at Parser.Transform._read (_stream_transform.js:190:10) at Parser.Transform._write (_stream_transform.js:178:12) at doWrite (_stream_writable.js:415:12) at writeOrBuffer (_stream_writable.js:399:5) at Parser.Writable.write (_stream_writable.js:299:11) at Protocol.ondata (_stream_readable.js:693:20) at Protocol.emit (events.js:198:13) at addChunk (_stream_readable.js:288:12) at readableAddChunk (_stream_readable.js:269:11) at Protocol.Readable.push (_stream_readable.js:224:10) at Protocol.Transform.push (_stream_transform.js:151:32) at Protocol.readItems (D:\version2\lb4\explore\node_modules\cassandra-driver\lib\streams.js:109:10) at Protocol._transform (D:\version2\lb4\explore\node_modules\cassandra-driver\lib\streams.js:32:10)

dhmlau commented 4 years ago

@jannyHou, could you please take a look? Thanks.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.