Checklist to be followed for Loopback Migration to v3.
Update LoopBack version
Update use of REST error handler
Replace LoopBack middleware “getter” properties NOT Required or Already in Compliance
Update models
Update models derived from PersistedModel
Explicitly add User model properties that were removed NOT Required or Already in Compliance
Check request parameter encoding
Remove use of current-context methods, middleware, and configuration settings
Error: Unknown "flyer" id "undefined".
at Function.convertNullToNotFoundError (/Users/raisedadead/DEV/freeCodeCamp/node_modules/loopback/lib/persisted-model.js:89:17)
at invokeRestAfter (/Users/raisedadead/DEV/freeCodeCamp/node_modules/strong-remoting/lib/rest-adapter.js:472:25)
at /Users/raisedadead/DEV/freeCodeCamp/node_modules/async/dist/async.js:3686:9
at replenish (/Users/raisedadead/DEV/freeCodeCamp/node_modules/async/dist/async.js:881:17)
at iterateeCallback (/Users/raisedadead/DEV/freeCodeCamp/node_modules/async/dist/async.js:866:17)
at /Users/raisedadead/DEV/freeCodeCamp/node_modules/async/dist/async.js:843:16
at /Users/raisedadead/DEV/freeCodeCamp/node_modules/async/dist/async.js:3691:13
at apply (/Users/raisedadead/DEV/freeCodeCamp/node_modules/async/dist/async.js:21:25)
at /Users/raisedadead/DEV/freeCodeCamp/node_modules/async/dist/async.js:56:12
at interceptInvocationErrors (/Users/raisedadead/DEV/freeCodeCamp/node_modules/strong-remoting/lib/remote-objects.js:685:22)
at /Users/raisedadead/DEV/freeCodeCamp/node_modules/strong-remoting/node_modules/loopback-phase/node_modules/async/lib/async.js:154:25
at /Users/raisedadead/DEV/freeCodeCamp/node_modules/strong-remoting/node_modules/loopback-phase/node_modules/async/lib/async.js:154:25
at /Users/raisedadead/DEV/freeCodeCamp/node_modules/strong-remoting/node_modules/loopback-phase/node_modules/async/lib/async.js:154:25
at execStack (/Users/raisedadead/DEV/freeCodeCamp/node_modules/strong-remoting/lib/remote-objects.js:494:7)
at RemoteObjects.execHooks (/Users/raisedadead/DEV/freeCodeCamp/node_modules/strong-remoting/lib/remote-objects.js:498:10)
at phaseAfterInvoke (/Users/raisedadead/DEV/freeCodeCamp/node_modules/strong-remoting/lib/remote-objects.js:656:10)
Update use of promises Fixed by https://github.com/freeCodeCamp/freeCodeCamp/pull/15628
Check CORS configuration