bluelatex icon indicating copy to clipboard operation
bluelatex copied to clipboard

The sync API responses with an error 500 when the request contains a message

Open tdurieux opened this issue 9 years ago • 0 comments

The sync API responses with an error 500 when the request contains a message.

The content of the request seems to be managed by the server but the request ends with an error 500.

Example Request:

Request

{
    "commands": [
        {
            "filename": "main.tex",
            "revision": 37,
            "action": {
                "name": "delta",
                "revision": 37,
                "data": [
                    "=54461"
                ],
                "overwrite": false
            }
        },
        {
            "from": "xbyr_loi",
            "filename": "main.tex",
            "json": {
                "type": "cursor",
                "user": "thomas",
                "cursor": {
                    "scrollTop": 18604,
                    "scrollLeft": 0,
                    "startPrefix": "We find out that",
                    "startSuffix": " only 41 out of ",
                    "startOffset": 53522,
                    "collapsed": true
                }
            }
        }
    ],
    "peerId": "xbyr_loi",
    "paperId": "id"
}

Response

{
  "name":"sync_error",
  "description":"Something went wrong when processing synchronization session for xd3ab35c6b4324d60"
}

tdurieux avatar May 15 '15 11:05 tdurieux