I'm Getting error when i'm trying to access web demo.

–1 vote
I have ubuntu 18.04 installed. and my multichain version is 1.0.8.

m getting this error :  : {"result":null,"error":{"code":-32700,"message":"Parse error"},"id":null} multichain
asked Mar 20 by Abhilash
This error code means "The message sent cannot be parsed as a JSON-formatted string."
Find more here: https://www.multichain.com/developers/api-errors/

2 Answers

0 votes
Parse error means that there is something wrong in your API request format.
answered Mar 20 by gimmick
Can you please let me know when this error shows up to you?

Generally this error pops up when you make some API request to the blockchain and the format in which you are making request is not correct as it should be. As, there are some predefined parameters and predefined way to make request in multichain so if you have not made up your request in that format then you will face such an error.
permission.log file is attached here,,

2019-03-25 12:56:28.148    Initialized: Admin count: 0, Miner count: 0, ledger rows: 1
2019-03-25 12:56:29.607    Grant: (00000000-529c4db0-00000001-529c4db0) (0-4294967295, 1553498788), In consensus: 1, Admin count: 0, Miner count: 0
2019-03-25 12:56:29.607    Grant: (00000000-529c4db0-00000002-529c4db0) (0-4294967295, 1553498788), In consensus: 1, Admin count: 0, Miner count: 0
2019-03-25 12:56:29.607    Grant: (00000000-529c4db0-00000004-529c4db0) (0-4294967295, 1553498788), In consensus: 1, Admin count: 0, Miner count: 0
2019-03-25 12:56:29.607    Grant: (00000000-529c4db0-00000020-529c4db0) (0-4294967295, 1553498788), In consensus: 1, Admin count: 0, Miner count: 0
2019-03-25 12:56:29.607    Grant: (00000000-529c4db0-00000010-529c4db0) (0-4294967295, 1553498788), In consensus: 1, Admin count: 0, Miner count: 0
2019-03-25 12:56:29.607    Grant: (00000000-529c4db0-00002000-529c4db0) (0-4294967295, 1553498788), In consensus: 1, Admin count: 0, Miner count: 0
2019-03-25 12:56:29.607    Grant: (00000000-529c4db0-00000100-529c4db0) (0-4294967295, 1553498788), In consensus: 1, Admin count: 0, Miner count: 1
2019-03-25 12:56:29.607    Grant: (00000000-529c4db0-00001000-529c4db0) (0-4294967295, 1553498788), In consensus: 1, Admin count: 1, Miner count: 1
2019-03-25 12:56:29.607    Grant: (ec4680e5-00000000-00000001-529c4db0) (0-4294967295, 0), In consensus: 1, Admin count: 1, Miner count: 1
2019-03-25 12:56:29.607    Grant: (ec4680e5-529c4db0-00000008-529c4db0) (0-4294967295, 0), In consensus: 1, Admin count: 1, Miner count: 1
2019-03-25 12:56:29.607    Grant: (ec4680e5-529c4db0-00002000-529c4db0) (0-4294967295, 0), In consensus: 1, Admin count: 1, Miner count: 1
2019-03-25 12:56:29.607    Grant: (ec4680e5-529c4db0-00001000-529c4db0) (0-4294967295, 0), In consensus: 1, Admin count: 1, Miner count: 1
2019-03-25 12:56:29.695    Block commit:         0 (Hash: 9ba922fb, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 15
2019-03-25 12:56:30.272    Block commit:         1 (Hash: 8200aeef, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 17
2019-03-25 12:56:31.047    Block commit:         2 (Hash: c353fdf7, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 19
2019-03-25 12:56:40.169    Block commit:         3 (Hash: 7fd27fb4, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 21
2019-03-25 12:57:50.781    Initialized: Admin count: 1, Miner count: 1, ledger rows: 21
2019-03-25 12:57:51.603    Block rollback:         3, Admin count: 1, Miner count: 1, Ledger Rows: 21
2019-03-25 12:58:09.377    Block commit:         4 (Hash: 42eda761, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 23
2019-03-25 12:58:22.122    Block commit:         5 (Hash: cbd3b10c, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 25
2019-03-25 12:58:41.743    Block commit:         6 (Hash: 5bf6e126, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 27
2019-03-25 12:58:54.593    Block commit:         7 (Hash: fc5ecfd1, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 29
2019-03-25 12:59:09.342    Block commit:         8 (Hash: f8e7241c, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 31
2019-03-25 12:59:25.705    Block commit:         9 (Hash: b6512be1, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 33
2019-03-25 12:59:38.995    Block commit:        10 (Hash: 55865aa7, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 35
2019-03-25 12:59:58.094    Block commit:        11 (Hash: 681a3dea, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 37
2019-03-25 13:00:19.888    Block commit:        12 (Hash: b8cb96a1, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 39
2019-03-25 13:00:31.299    Block commit:        13 (Hash: 04c05862, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 41
2019-03-25 13:00:54.289    Block commit:        14 (Hash: 9d7dba56, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 43
2019-03-25 13:01:04.926    Block commit:        15 (Hash: d9d82860, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 45
2019-03-25 13:01:17.315    Block commit:        16 (Hash: 7b62d059, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 47
2019-03-25 13:01:31.345    Block commit:        17 (Hash: 3e837507, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 49
2019-03-25 13:01:41.226    Block commit:        18 (Hash: f5060307, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 51
2019-03-25 13:02:06.905    Block commit:        19 (Hash: e4cc1865, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 53
2019-03-25 13:02:20.481    Block commit:        20 (Hash: 326cb9fc, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 55
2019-03-25 13:02:29.559    Block commit:        21 (Hash: ee98c1a0, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 57
2019-03-25 13:02:45.704    Block commit:        22 (Hash: 05b98315, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 59
2019-03-25 13:03:04.693    Block commit:        23 (Hash: 5bc15ba4, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 61
2019-03-25 13:03:12.683    Block commit:        24 (Hash: 315841e9, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 63
2019-03-25 13:03:33.874    Block commit:        25 (Hash: ead992c0, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 65
2019-03-25 13:03:51.766    Block commit:        26 (Hash: bef70ae2, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 67
2019-03-25 13:04:00.153    Block commit:        27 (Hash: 8c2ec3ca, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 69
2019-03-25 13:04:10.343    Block commit:        28 (Hash: ff7aeaf6, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 71
2019-03-25 13:04:30.474    Block commit:        29 (Hash: e912d03a, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 73
2019-03-25 13:04:53.897    Block commit:        30 (Hash: 02930a29, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 75
2019-03-25 13:05:04.089    Block commit:        31 (Hash: 4315f503, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 77
2019-03-25 13:05:12.497    Block commit:        32 (Hash: a7fe6ee3, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 79
2019-03-25 13:05:35.364    Block commit:        33 (Hash: f9e2c444, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 81
2019-03-25 13:05:55.075    Block commit:        34 (Hash: e196f27d, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 83
2019-03-25 13:06:07.522    Block commit:        35 (Hash: 618755b3, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 85
2019-03-25 13:06:25.697    Block commit:        36 (Hash: 361d33ab, Miner: 529c4db0), Admin count: 1, Miner count: 1, Ledger Rows: 87
2019-03-25 13:06:27.291    Initialize: Cannot open database
that error shows when i try to access the web demo in browser
0 votes

If you uncomment the two lines in file functions.php in the Web Demo files that contain:

echo '<PRE>';

Then you will see more about the request sent and response received. You can post them here as well and we should be able to help more.

answered Mar 27 by MultiChain
hey, Web Demo is working now. i gone through this

https://ajinkya007.in/tech/multichain-web-demo/
...