Skip to content

The connector arangodb does not support replaceById operation #46

@harikrishnanp

Description

@harikrishnanp

I'm getting below error when I tried PUT operation from loopback API explorer.

curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{data}'

Error

{ "error": { "statusCode": 500, "name": "Error", "message": "The connector arangodb does not support replaceById operation. This is not a bug in LoopBack. Please contact the authors of the connector, preferably via GitHub issues.", "stack": "Error: The connector arangodb does not support replaceById operation. This is not a bug in LoopBack. Please contact the authors of the connector, preferably via GitHub issues.\n at Function.DataAccessObject.replaceById (/Project/node_modules/loopback-datasource-juggler/lib/dao.js:2887:15)\n at /Project/node_modules/loopback-datasource-juggler/lib/dao.js:969:16\n at /Project/node_modules/loopback-datasource-juggler/lib/dao.js:2085:5\n at /Project/node_modules/loopback-datasource-juggler/lib/dao.js:2013:9\n at /Project/node_modules/async/dist/async.js:1013:9\n at /Project/node_modules/async/dist/async.js:356:16\n at iteratorCallback (/Project/node_modules/async/dist/async.js:936:13)\n at /Project/node_modules/async/dist/async.js:840:16\n at /Project/node_modules/async/dist/async.js:1010:13\n at buildResult (/Project/node_modules/loopback-datasource-juggler/lib/dao.js:1979:11)\n at /Project/node_modules/loopback-datasource-juggler/lib/dao.js:1935:11\n at /Project/node_modules/async/dist/async.js:1008:9\n at eachOfArrayLike (/Project/node_modules/async/dist/async.js:941:9)\n at eachOf (/Project/node_modules/async/dist/async.js:991:5)\n at _asyncMap (/Project/node_modules/async/dist/async.js:1006:5)\n at Object.map (/Project/node_modules/async/dist/async.js:996:16)" } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions