Open daniloraisi opened 3 years ago
I am also running in to this very same issue when attempting to bootstrap a project using MongoDB...
From what I can tell so far, this issue appears to be caused by the attempt to typeCast string literal values stored in bootstrap model's JSON files during bootstrapping, whilst attempting to intially import / populate sample dataset into chosen backend database (in this context, MongoDB...), which triggers a validation failure...
The net end result is that user gets a newly provisioned Strapi backend / frontend (IFF user has requested bootstrap for a starter, or with template) with no sample data / pages / collection types / etc...
Here are my particulars below - please let me know if I can provide any additional useful information, although I realize that Strapi has an ongoing back and forth with Mongo's developers and is up in the air whether support will remain discontinued for MongoDB / mongoose connector, or be reinstated.
Dev Environment Config:
cbishop@cbishop-ubuntu-laptop:~/scripts/_GitPages/strapicms-src/my-project-mongodb$ uname -a
Linux cbishop-ubuntu-laptop.cbishop-domain.com 5.11.0-31-generic #33-Ubuntu SMP Wed Aug 11 13:19:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
cbishop@cbishop-ubuntu-laptop:~/scripts/_GitPages/strapicms-src/my-project-mongodb$
cbishop@cbishop-ubuntu-laptop:~/scripts/_GitPages/strapicms-src/my-project-mongodb$ cat /etc/os-release
NAME="Ubuntu"
VERSION="21.04 (Hirsute Hippo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 21.04"
VERSION_ID="21.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
cbishop@cbishop-ubuntu-laptop:~/scripts/_GitPages/strapicms-src/my-project-mongodb$
cbishop@cbishop-ubuntu-laptop:~/scripts/_GitPages/strapicms-src/my-project-mongodb$ node --version
v12.21.0
cbishop@cbishop-ubuntu-laptop:~/scripts/_GitPages/strapicms-src/my-project-mongodb$ npm --version
7.5.2
cbishop@cbishop-ubuntu-laptop:~/scripts/_GitPages/strapicms-src/my-project-mongodb$ npx --version
7.5.2
cbishop@cbishop-ubuntu-laptop:~/scripts/_GitPages/strapicms-src/my-project-mongodb$ yarn --version
1.22.11
cbishop@cbishop-ubuntu-laptop:~/scripts/_GitPages/strapicms-src/my-project-mongodb$ sudo systemctl status mongod
● mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2021-08-24 19:08:56 EDT; 41min ago
Docs: https://docs.mongodb.org/manual
Main PID: 4587 (mongod)
Memory: 83.0M
CGroup: /system.slice/mongod.service
└─4587 /usr/bin/mongod --config /etc/mongod.conf
Aug 24 19:08:56 cbishop-ubuntu-laptop.cbishop-domain.com systemd[1]: Started MongoDB Database Server.
cbishop@cbishop-ubuntu-laptop:~/scripts/_GitPages/strapicms-src/my-project-mongodb$ mongosh --version
1.0.5
cbishop@cbishop-ubuntu-laptop:~/scripts/_GitPages/strapicms-src/my-project-mongodb$
cbishop@cbishop-ubuntu-laptop:~/scripts/_GitPages/strapicms-src/my-project-mongodb$
cbishop@cbishop-ubuntu-laptop:~/scripts/_GitPages/strapicms-src/my-project-mongodb$ yarn create strapi-starter my-project next-corporate
yarn create v1.22.11
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "create-strapi-starter@3.6.8" with binaries:
- create-strapi-starter
[###################################################################################################################################] 214/214?? Choose your installation type Custom (manual settings)
? Choose your default database client mongo
? Database name: backend
? Host: 127.0.0.1
? +srv connection: false
? Port (It will be ignored if you enable +srv): 27017
? Username: mongo-strapi
? Password: ********
? Authentication database (Maybe "admin" or blank): admin
? Enable SSL connection: No
Creating a project with custom database options.
Creating a new Strapi application at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend.
Creating files.
Installing strapi/strapi-template-corporate template.
Dependencies installed successfully.
Your application was created at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend.
Available commands in your project:
yarn develop
Start Strapi in watch mode.
yarn start
Start Strapi without watch mode.
yarn build
Build Strapi admin panel.
yarn strapi
Display all available commands.
You can start by doing:
cd /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend
yarn develop
Creating Strapi starter frontend at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/frontend.
Installing strapi/strapi-starter-next-corporate starter
Dependencies installed successfully.
Dependencies installed successfully.
Starting the app
yarn run v1.22.11
$ cross-env FORCE_COLOR=1 npm-run-all -l -p develop:*
$ yarn --cwd backend develop
$ wait-on http://localhost:1337/admin && yarn --cwd frontend develop
$ strapi develop
[develop:backend ] Building your admin UI with development configuration ...
[develop:backend ] ℹ Compiling Webpack
[develop:backend ] ✔ Webpack: Compiled successfully in 40.43s
[develop:backend ] npm notice
[develop:backend ] npm notice New minor version of npm available! 7.5.2 -> 7.21.0
[develop:backend ] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.21.0>
[develop:backend ] npm notice Run `npm install -g npm@7.21.0` to update!
[develop:backend ] npm notice
[develop:backend ] [2021-08-24T23:38:21.623Z] info File created: /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/extensions/users-permissions/config/jwt.js
[develop:backend ] Error: global validation failed: _id: Cast to ObjectId failed for value "1" at path "_id"
[develop:backend ] at ValidationError.inspect (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/error/validation.js:47:26)
[develop:backend ] at internal/per_context/primordials.js:23:32
[develop:backend ] at formatValue (internal/util/inspect.js:762:19)
[develop:backend ] at inspect (internal/util/inspect.js:328:10)
[develop:backend ] at formatWithOptions (internal/util/inspect.js:1989:40)
[develop:backend ] at console.value (internal/console/constructor.js:308:14)
[develop:backend ] at console.log (internal/console/constructor.js:343:61)
[develop:backend ] at createEntry (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/config/functions/bootstrap.js:93:13)
[develop:backend ] at processTicksAndRejections (internal/process/task_queues.js:97:5) {
[develop:backend ] errors: {
[develop:backend ] _id: CastError: Cast to ObjectId failed for value "1" at path "_id"
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:269:11)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] at promiseOrCallback (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:30:10)
[develop:backend ] at Function.create (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3022:10) {
[develop:backend ] stringValue: '"1"',
[develop:backend ] messageFormat: undefined,
[develop:backend ] kind: 'ObjectId',
[develop:backend ] value: 1,
[develop:backend ] path: '_id',
[develop:backend ] reason: Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
[develop:backend ] at new ObjectID (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/bson/lib/bson/objectid.js:59:11)
[develop:backend ] at castObjectId (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/cast/objectid.js:25:12)
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:267:12)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] }
[develop:backend ] },
[develop:backend ] _message: 'global validation failed'
[develop:backend ] }
[develop:backend ] Error: global validation failed: _id: Cast to ObjectId failed for value "2" at path "_id"
[develop:backend ] at ValidationError.inspect (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/error/validation.js:47:26)
[develop:backend ] at internal/per_context/primordials.js:23:32
[develop:backend ] at formatValue (internal/util/inspect.js:762:19)
[develop:backend ] at inspect (internal/util/inspect.js:328:10)
[develop:backend ] at formatWithOptions (internal/util/inspect.js:1989:40)
[develop:backend ] at console.value (internal/console/constructor.js:308:14)
[develop:backend ] at console.log (internal/console/constructor.js:343:61)
[develop:backend ] at createEntry (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/config/functions/bootstrap.js:93:13)
[develop:backend ] at processTicksAndRejections (internal/process/task_queues.js:97:5) {
[develop:backend ] errors: {
[develop:backend ] _id: CastError: Cast to ObjectId failed for value "2" at path "_id"
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:269:11)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] at promiseOrCallback (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:30:10)
[develop:backend ] at Function.create (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3022:10) {
[develop:backend ] stringValue: '"2"',
[develop:backend ] messageFormat: undefined,
[develop:backend ] kind: 'ObjectId',
[develop:backend ] value: 2,
[develop:backend ] path: '_id',
[develop:backend ] reason: Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
[develop:backend ] at new ObjectID (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/bson/lib/bson/objectid.js:59:11)
[develop:backend ] at castObjectId (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/cast/objectid.js:25:12)
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:267:12)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] }
[develop:backend ] },
[develop:backend ] _message: 'global validation failed'
[develop:backend ] }
[develop:backend ] Error: page validation failed: _id: Cast to ObjectId failed for value "1" at path "_id"
[develop:backend ] at ValidationError.inspect (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/error/validation.js:47:26)
[develop:backend ] at internal/per_context/primordials.js:23:32
[develop:backend ] at formatValue (internal/util/inspect.js:762:19)
[develop:backend ] at inspect (internal/util/inspect.js:328:10)
[develop:backend ] at formatWithOptions (internal/util/inspect.js:1989:40)
[develop:backend ] at console.value (internal/console/constructor.js:308:14)
[develop:backend ] at console.log (internal/console/constructor.js:343:61)
[develop:backend ] at createEntry (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/config/functions/bootstrap.js:93:13)
[develop:backend ] at processTicksAndRejections (internal/process/task_queues.js:97:5) {
[develop:backend ] errors: {
[develop:backend ] _id: CastError: Cast to ObjectId failed for value "1" at path "_id"
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:269:11)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] at promiseOrCallback (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:30:10)
[develop:backend ] at Function.create (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3022:10) {
[develop:backend ] stringValue: '"1"',
[develop:backend ] messageFormat: undefined,
[develop:backend ] kind: 'ObjectId',
[develop:backend ] value: 1,
[develop:backend ] path: '_id',
[develop:backend ] reason: Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
[develop:backend ] at new ObjectID (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/bson/lib/bson/objectid.js:59:11)
[develop:backend ] at castObjectId (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/cast/objectid.js:25:12)
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:267:12)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] }
[develop:backend ] },
[develop:backend ] _message: 'page validation failed'
[develop:backend ] }
[develop:backend ] Error: page validation failed: _id: Cast to ObjectId failed for value "2" at path "_id"
[develop:backend ] at ValidationError.inspect (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/error/validation.js:47:26)
[develop:backend ] at internal/per_context/primordials.js:23:32
[develop:backend ] at formatValue (internal/util/inspect.js:762:19)
[develop:backend ] at inspect (internal/util/inspect.js:328:10)
[develop:backend ] at formatWithOptions (internal/util/inspect.js:1989:40)
[develop:backend ] at console.value (internal/console/constructor.js:308:14)
[develop:backend ] at console.log (internal/console/constructor.js:343:61)
[develop:backend ] at createEntry (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/config/functions/bootstrap.js:93:13)
[develop:backend ] at processTicksAndRejections (internal/process/task_queues.js:97:5) {
[develop:backend ] errors: {
[develop:backend ] _id: CastError: Cast to ObjectId failed for value "2" at path "_id"
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:269:11)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] at promiseOrCallback (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:30:10)
[develop:backend ] at Function.create (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3022:10) {
[develop:backend ] stringValue: '"2"',
[develop:backend ] messageFormat: undefined,
[develop:backend ] kind: 'ObjectId',
[develop:backend ] value: 2,
[develop:backend ] path: '_id',
[develop:backend ] reason: Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
[develop:backend ] at new ObjectID (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/bson/lib/bson/objectid.js:59:11)
[develop:backend ] at castObjectId (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/cast/objectid.js:25:12)
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:267:12)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] }
[develop:backend ] },
[develop:backend ] _message: 'page validation failed'
[develop:backend ] }
[develop:backend ] Error: page validation failed: _id: Cast to ObjectId failed for value "3" at path "_id"
[develop:backend ] at ValidationError.inspect (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/error/validation.js:47:26)
[develop:backend ] at internal/per_context/primordials.js:23:32
[develop:backend ] at formatValue (internal/util/inspect.js:762:19)
[develop:backend ] at inspect (internal/util/inspect.js:328:10)
[develop:backend ] at formatWithOptions (internal/util/inspect.js:1989:40)
[develop:backend ] at console.value (internal/console/constructor.js:308:14)
[develop:backend ] at console.log (internal/console/constructor.js:343:61)
[develop:backend ] at createEntry (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/config/functions/bootstrap.js:93:13)
[develop:backend ] at processTicksAndRejections (internal/process/task_queues.js:97:5) {
[develop:backend ] errors: {
[develop:backend ] _id: CastError: Cast to ObjectId failed for value "3" at path "_id"
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:269:11)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] at promiseOrCallback (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:30:10)
[develop:backend ] at Function.create (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3022:10) {
[develop:backend ] stringValue: '"3"',
[develop:backend ] messageFormat: undefined,
[develop:backend ] kind: 'ObjectId',
[develop:backend ] value: 3,
[develop:backend ] path: '_id',
[develop:backend ] reason: Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
[develop:backend ] at new ObjectID (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/bson/lib/bson/objectid.js:59:11)
[develop:backend ] at castObjectId (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/cast/objectid.js:25:12)
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:267:12)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] }
[develop:backend ] },
[develop:backend ] _message: 'page validation failed'
[develop:backend ] }
[develop:backend ] Error: page validation failed: _id: Cast to ObjectId failed for value "4" at path "_id"
[develop:backend ] at ValidationError.inspect (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/error/validation.js:47:26)
[develop:backend ] at internal/per_context/primordials.js:23:32
[develop:backend ] at formatValue (internal/util/inspect.js:762:19)
[develop:backend ] at inspect (internal/util/inspect.js:328:10)
[develop:backend ] at formatWithOptions (internal/util/inspect.js:1989:40)
[develop:backend ] at console.value (internal/console/constructor.js:308:14)
[develop:backend ] at console.log (internal/console/constructor.js:343:61)
[develop:backend ] at createEntry (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/config/functions/bootstrap.js:93:13)
[develop:backend ] at processTicksAndRejections (internal/process/task_queues.js:97:5) {
[develop:backend ] errors: {
[develop:backend ] _id: CastError: Cast to ObjectId failed for value "4" at path "_id"
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:269:11)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] at promiseOrCallback (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:30:10)
[develop:backend ] at Function.create (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3022:10) {
[develop:backend ] stringValue: '"4"',
[develop:backend ] messageFormat: undefined,
[develop:backend ] kind: 'ObjectId',
[develop:backend ] value: 4,
[develop:backend ] path: '_id',
[develop:backend ] reason: Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
[develop:backend ] at new ObjectID (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/bson/lib/bson/objectid.js:59:11)
[develop:backend ] at castObjectId (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/cast/objectid.js:25:12)
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:267:12)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] }
[develop:backend ] },
[develop:backend ] _message: 'page validation failed'
[develop:backend ] }
[develop:backend ] Error: page validation failed: _id: Cast to ObjectId failed for value "5" at path "_id"
[develop:backend ] at ValidationError.inspect (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/error/validation.js:47:26)
[develop:backend ] at internal/per_context/primordials.js:23:32
[develop:backend ] at formatValue (internal/util/inspect.js:762:19)
[develop:backend ] at inspect (internal/util/inspect.js:328:10)
[develop:backend ] at formatWithOptions (internal/util/inspect.js:1989:40)
[develop:backend ] at console.value (internal/console/constructor.js:308:14)
[develop:backend ] at console.log (internal/console/constructor.js:343:61)
[develop:backend ] at createEntry (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/config/functions/bootstrap.js:93:13)
[develop:backend ] at processTicksAndRejections (internal/process/task_queues.js:97:5) {
[develop:backend ] errors: {
[develop:backend ] _id: CastError: Cast to ObjectId failed for value "5" at path "_id"
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:269:11)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] at promiseOrCallback (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:30:10)
[develop:backend ] at Function.create (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3022:10) {
[develop:backend ] stringValue: '"5"',
[develop:backend ] messageFormat: undefined,
[develop:backend ] kind: 'ObjectId',
[develop:backend ] value: 5,
[develop:backend ] path: '_id',
[develop:backend ] reason: Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
[develop:backend ] at new ObjectID (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/bson/lib/bson/objectid.js:59:11)
[develop:backend ] at castObjectId (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/cast/objectid.js:25:12)
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:267:12)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] }
[develop:backend ] },
[develop:backend ] _message: 'page validation failed'
[develop:backend ] }
[develop:backend ] Error: page validation failed: _id: Cast to ObjectId failed for value "6" at path "_id"
[develop:backend ] at ValidationError.inspect (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/error/validation.js:47:26)
[develop:backend ] at internal/per_context/primordials.js:23:32
[develop:backend ] at formatValue (internal/util/inspect.js:762:19)
[develop:backend ] at inspect (internal/util/inspect.js:328:10)
[develop:backend ] at formatWithOptions (internal/util/inspect.js:1989:40)
[develop:backend ] at console.value (internal/console/constructor.js:308:14)
[develop:backend ] at console.log (internal/console/constructor.js:343:61)
[develop:backend ] at createEntry (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/config/functions/bootstrap.js:93:13)
[develop:backend ] at processTicksAndRejections (internal/process/task_queues.js:97:5) {
[develop:backend ] errors: {
[develop:backend ] _id: CastError: Cast to ObjectId failed for value "6" at path "_id"
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:269:11)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] at promiseOrCallback (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:30:10)
[develop:backend ] at Function.create (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3022:10) {
[develop:backend ] stringValue: '"6"',
[develop:backend ] messageFormat: undefined,
[develop:backend ] kind: 'ObjectId',
[develop:backend ] value: 6,
[develop:backend ] path: '_id',
[develop:backend ] reason: Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
[develop:backend ] at new ObjectID (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/bson/lib/bson/objectid.js:59:11)
[develop:backend ] at castObjectId (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/cast/objectid.js:25:12)
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:267:12)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] }
[develop:backend ] },
[develop:backend ] _message: 'page validation failed'
[develop:backend ] }
[develop:backend ] Error: page validation failed: _id: Cast to ObjectId failed for value "7" at path "_id"
[develop:backend ] at ValidationError.inspect (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/error/validation.js:47:26)
[develop:backend ] at internal/per_context/primordials.js:23:32
[develop:backend ] at formatValue (internal/util/inspect.js:762:19)
[develop:backend ] at inspect (internal/util/inspect.js:328:10)
[develop:backend ] at formatWithOptions (internal/util/inspect.js:1989:40)
[develop:backend ] at console.value (internal/console/constructor.js:308:14)
[develop:backend ] at console.log (internal/console/constructor.js:343:61)
[develop:backend ] at createEntry (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/config/functions/bootstrap.js:93:13)
[develop:backend ] at processTicksAndRejections (internal/process/task_queues.js:97:5) {
[develop:backend ] errors: {
[develop:backend ] _id: CastError: Cast to ObjectId failed for value "7" at path "_id"
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:269:11)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] at promiseOrCallback (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:30:10)
[develop:backend ] at Function.create (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3022:10) {
[develop:backend ] stringValue: '"7"',
[develop:backend ] messageFormat: undefined,
[develop:backend ] kind: 'ObjectId',
[develop:backend ] value: 7,
[develop:backend ] path: '_id',
[develop:backend ] reason: Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
[develop:backend ] at new ObjectID (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/bson/lib/bson/objectid.js:59:11)
[develop:backend ] at castObjectId (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/cast/objectid.js:25:12)
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:267:12)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] }
[develop:backend ] },
[develop:backend ] _message: 'page validation failed'
[develop:backend ] }
[develop:backend ] Error: page validation failed: _id: Cast to ObjectId failed for value "8" at path "_id"
[develop:backend ] at ValidationError.inspect (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/error/validation.js:47:26)
[develop:backend ] at internal/per_context/primordials.js:23:32
[develop:backend ] at formatValue (internal/util/inspect.js:762:19)
[develop:backend ] at inspect (internal/util/inspect.js:328:10)
[develop:backend ] at formatWithOptions (internal/util/inspect.js:1989:40)
[develop:backend ] at console.value (internal/console/constructor.js:308:14)
[develop:backend ] at console.log (internal/console/constructor.js:343:61)
[develop:backend ] at createEntry (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/config/functions/bootstrap.js:93:13)
[develop:backend ] at processTicksAndRejections (internal/process/task_queues.js:97:5) {
[develop:backend ] errors: {
[develop:backend ] _id: CastError: Cast to ObjectId failed for value "8" at path "_id"
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:269:11)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] at promiseOrCallback (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:30:10)
[develop:backend ] at Function.create (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3022:10) {
[develop:backend ] stringValue: '"8"',
[develop:backend ] messageFormat: undefined,
[develop:backend ] kind: 'ObjectId',
[develop:backend ] value: 8,
[develop:backend ] path: '_id',
[develop:backend ] reason: Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
[develop:backend ] at new ObjectID (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/bson/lib/bson/objectid.js:59:11)
[develop:backend ] at castObjectId (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/cast/objectid.js:25:12)
[develop:backend ] at ObjectId.cast (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schema/objectid.js:267:12)
[develop:backend ] at ObjectId.SchemaType.applySetters (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/schematype.js:1075:12)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1250:20)
[develop:backend ] at model._handleIndex (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:1019:14)
[develop:backend ] at model.$set (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:960:22)
[develop:backend ] at model.Document (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/document.js:150:12)
[develop:backend ] at model.Model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:106:12)
[develop:backend ] at new model (/home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:4686:15)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3052:22
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3088:7
[develop:backend ] at Array.forEach (<anonymous>)
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/model.js:3087:15
[develop:backend ] at /home/cbishop/scripts/_GitPages/strapicms-src/my-project-mongodb/my-project/backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
[develop:backend ] at new Promise (<anonymous>)
[develop:backend ] }
[develop:backend ] },
[develop:backend ] _message: 'page validation failed'
[develop:backend ] }
[develop:backend ]
[develop:backend ] Project information
[develop:backend ]
[develop:backend ] ┌────────────────────┬──────────────────────────────────────────────────┐
[develop:backend ] │ Time │ Tue Aug 24 2021 19:38:22 GMT-0400 (Eastern Dayl… │
[develop:backend ] │ Launched in │ 7481 ms │
[develop:backend ] │ Environment │ development │
[develop:backend ] │ Process PID │ 6805 │
[develop:backend ] │ Version │ 3.6.8 (node v12.21.0) │
[develop:backend ] │ Edition │ Community │
[develop:backend ] └────────────────────┴──────────────────────────────────────────────────┘
[develop:backend ]
[develop:backend ] Actions available
[develop:backend ]
[develop:backend ] One more thing...
[develop:backend ] Create your first administrator 💻 by going to the administration panel at:
[develop:backend ]
[develop:backend ] ┌─────────────────────────────┐
[develop:backend ] │ http://localhost:1337/admin │
[develop:backend ] └─────────────────────────────┘
[develop:backend ]
[develop:backend ] [2021-08-24T23:38:22.848Z] debug HEAD /admin (12 ms) 200
warning package.json: No license field
$ next
[develop:frontend] ready - started server on 0.0.0.0:3000, url: http://localhost:3000
[develop:frontend] info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
[develop:backend ] [2021-08-24T23:38:23.925Z] warn ⚠️ The admin panel is unavailable... Impossible to open it in the browser.
[develop:backend ] [2021-08-24T23:38:24.393Z] debug GET /admin (10 ms) 200
[develop:backend ] [2021-08-24T23:38:24.544Z] debug GET /admin/runtime~main.cf4bbba4.js (10 ms) 200
[develop:backend ] [2021-08-24T23:38:24.572Z] debug GET /admin/main.1484c4ac.chunk.js (7 ms) 200
[develop:backend ] [2021-08-24T23:38:26.159Z] debug GET /admin/init (9 ms) 200
[develop:backend ] [2021-08-24T23:38:26.167Z] debug GET /favicon.ico (2 ms) 200
[develop:backend ] [2021-08-24T23:38:26.935Z] debug GET /admin/842e7845f3f8e943ff712a39617b6b70.svg (7 ms) 200
[develop:backend ] [2021-08-24T23:38:26.981Z] debug GET /admin/07109cdae9f760e8d97c89788c9dc9df.png (5 ms) 200
[develop:backend ] [2021-08-24T23:38:27.007Z] debug GET /admin/a6069540692725c247f13984a9598a92.woff2 (16 ms) 200
[develop:backend ] [2021-08-24T23:38:27.009Z] debug GET /admin/75614cfcfedd509b1f7ac1c26c53bb7f.woff2 (10 ms) 200
[develop:backend ] [2021-08-24T23:38:27.012Z] debug GET /admin/21b3848a32fce5b0f5014948186f6964.woff2 (12 ms) 200
[develop:frontend]
[develop:frontend] warn - You have enabled the JIT engine which is currently in preview.
[develop:frontend] warn - Preview features are not covered by semver, may introduce breaking changes, and can change at any time.
[develop:frontend] event - compiled successfully
[develop:backend ] [2021-08-24T23:39:49.809Z] debug GET /admin/1551f4f60c37af51121f106501f69b80.woff2 (4 ms) 200
[develop:backend ] [2021-08-24T23:39:54.258Z] debug POST /admin/register-admin (1331 ms) 200
[develop:backend ] [2021-08-24T23:39:54.423Z] debug GET /admin/information (102 ms) 200
[develop:backend ] [2021-08-24T23:39:54.502Z] debug GET /content-manager/content-types (165 ms) 200
[develop:backend ] [2021-08-24T23:39:54.568Z] debug GET /i18n/locales (216 ms) 200
[develop:backend ] [2021-08-24T23:39:54.667Z] debug GET /admin/users/me/permissions (57 ms) 200
[develop:backend ] [2021-08-24T23:39:54.851Z] debug GET /content-manager/components (129 ms) 200
[develop:backend ] [2021-08-24T23:39:54.898Z] debug GET /content-manager/content-types (170 ms) 200
[develop:backend ] [2021-08-24T23:39:54.931Z] debug GET /content-manager/content-types-settings (217 ms) 200
[develop:backend ] [2021-08-24T23:39:54.936Z] debug GET /admin/0063b2cc64d976ac36f211442466d0ac.png (84 ms) 200
[develop:backend ] [2021-08-24T23:39:54.938Z] debug GET /admin/6d20cff5b3255dd0078f935c34e2b882.woff2 (6 ms) 200
[develop:backend ] [2021-08-24T23:39:55.049Z] debug GET /admin/5efd305d5fee9981280a5e3e896188cb.png (5 ms) 200
[develop:backend ] [2021-08-24T23:39:55.058Z] debug GET /admin/f46a81c3d1d3a648af68cffd4d0bba1d.png (11 ms) 200
[develop:backend ] [2021-08-24T23:39:55.086Z] debug GET /admin/3dd22e0349b2d2a7b7c998ad0bdb03df.png (32 ms) 200
[develop:backend ] [2021-08-24T23:39:55.087Z] debug GET /admin/f16ac9b228b18810dd7cd6313764c007.png (31 ms) 200
[develop:backend ] [2021-08-24T23:39:55.141Z] debug GET /admin/7b77ea7e971bd3774dac8db799dfcef7.png (72 ms) 200
[develop:backend ] [2021-08-24T23:39:55.197Z] debug GET /content-manager/content-types (131 ms) 200
Cheers,
Whenever I try to start Strapi using this template with Custom Config and MongoDB, I receive an error about objectID fields.