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

fix: `searchAssets` and `searchMetadata` return 400 #309

Open getlarge opened 2 years ago

getlarge commented 2 years ago

Since last week i noticed an issue with the Connection instance. When trying to fetch assets and metadata, the message received was 'HTTP Error: Requested page not reachable'. So out of curiosity i tried with a different HTTP client (axios) and with the browser and both were getting valid responses.

The issue is probably around this file, but i didn't have time to investigate.