apache / incubator-resilientdb-graphql

ResilientDB GraphQL Server
Apache License 2.0
1 stars 4 forks source link

GetFilteredTransaction Expecting Value #3

Closed bNTGeez closed 10 months ago

bNTGeez commented 10 months ago

We tried testing the GetFilteredTransaction from the blogpost on the cloud Strawberry GraphQL. After running it, we run into the error of ""message": "Expecting value: line 1 column 747 (char 746)",". We went into the discord to get help from @kaustubhKVS We tried getting around the error by getting an owner and recipient public key by generating a key, setting the transaction, and getting the transaction to get working public keys. Even after entering public keys, we end up with an error " "message": "Expecting value: line 1 column 747 (char 746)",".

After putting in the owner and recipient public key, we expected to get a list of data between the two users.

image image

@apratimshukla6 @kaustubhKVS

apratimshukla6 commented 10 months ago

The issue was caused due to a bug in parsing the JSON data after single characters had been committed to ResilientDB via the command line. This issue has now been resolved via regex and pulling the latest commit will fix it.