bigchaindb / js-bigchaindb-driver

Official BigchainDB JavaScript driver for Node.js and the browser
https://docs.bigchaindb.com/projects/js-driver/en/latest/usage.html
Apache License 2.0
216 stars 92 forks source link

TypeError: Cannot read property 'id' of undefined #278

Open robelkebede opened 5 years ago

robelkebede commented 5 years ago

TypeError: Cannot read property 'id' of undefined at Object.makeTransferTransaction (C:\Users\Rob_keb\node_modules\bigchaindb-driver\dist\node\transaction\makeTransferTransaction.js:56:108) at Promise (C:\Users\Rob_keb\Desktop\Blockchain\chain\Foodchain\foodchain.js:210:60) at new Promise () at foodchain.transferAsset (C:\Users\Rob_keb\Desktop\Blockchain\chain\Foodchain\foodchain.js:201:16) at app.post (C:\Users\Rob_keb\Desktop\Blockchain\chain\Foodchain\index.js:56:13) at Layer.handle [as handle_request] (C:\Users\Rob_keb\node_modules\express\lib\router\layer.js:95:5) at next (C:\Users\Rob_keb\node_modules\express\lib\router\route.js:137:13) at Route.dispatch (C:\Users\Rob_keb\node_modules\express\lib\router\route.js:112:3) at Layer.handle [as handle_request] (C:\Users\Rob_keb\node_modules\express\lib\router\layer.js:95:5) at C:\Users\Rob_keb\node_modules\express\lib\router\index.js:281:22

this happens only when i transfer a transcation

VERSIONS bigchaindb-driver@3.1.1 bigchaindb==1.3.0

i upgraded the bigchaindb-driver it but it cant work with the server