Invalid record ID


#1

I am getting an error when the build is trying to create an sfdx scratch org via

  • sfdx force:org:create -v HubOrg -s -f config/project-scratch-def.json -a ciorg --json --loglevel error

{“message”:“Invalid record ID. Specify valid record ID value”,“status”:1,“stack”:“Error: Invalid record ID. Specify valid record ID value\n at /usr/local/lib/sfdx/node_modules/jsforce/lib/connection.js:572:40\n at /usr/local/lib/sfdx/node_modules/jsforce/node_modules/lodash/core.js:788:25\n at /usr/local/lib/sfdx/node_modules/jsforce/node_modules/lodash/core.js:1052:13\n at baseMap (/usr/local/lib/sfdx/node_modules/jsforce/node_modules/lodash/core.js:787:5)\n at Function.map (/usr/local/lib/sfdx/node_modules/jsforce/node_modules/lodash/core.js:2058:12)\n at module.exports.Connection.retrieve (/usr/local/lib/sfdx/node_modules/jsforce/lib/connection.js:571:7)\n at module.exports.SObject.retrieve (/usr/local/lib/sfdx/node_modules/jsforce/lib/sobject.js:78:21)\n at _getConnection.then (/usr/local/lib/sfdx/node_modules/salesforce-alm/dist/lib/force.js:387:106)\n at tryCatcher (/usr/local/lib/sfdx/node_modules/bluebird/js/release/util.js:16:23)\n at Promise._settlePromiseFromHandler (/usr/local/lib/sfdx/node_modules/bluebird/js/release/promise.js:510:31)\n at Promise._settlePromise (/usr/local/lib/sfdx/node_modules/bluebird/js/release/promise.js:567:18)\n at Promise._settlePromise0 (/usr/local/lib/sfdx/node_modules/bluebird/js/release/promise.js:612:10)\n at Promise._settlePromises (/usr/local/lib/sfdx/node_modules/bluebird/js/release/promise.js:691:18)\n at Async._drainQueue (/usr/local/lib/sfdx/node_modules/bluebird/js/release/async.js:138:16)\n at Async._drainQueues (/usr/local/lib/sfdx/node_modules/bluebird/js/release/async.js:148:10)\n at Immediate.Async.drainQueues [as _onImmediate] (/usr/local/lib/sfdx/node_modules/bluebird/js/release/async.js:17:14)”,“name”:“Error”,“warnings”:[“All --json output, including on error, is moving to stdout. Use the SFDX_JSON_TO_STDOUT environment variable to move over to the new functionality. This will become the default in version 45.”]}


#2

Hello, there.

Please provide more details, so that we may be able to help you understand and hopefully help you resolve the problem. Relevant information include: build log URL, what you tried, what you expect to happen, etc.

Thanks.


#3

Here is a link to someone else with the same problem