• Anamika Rathore 4
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 1
    Questions
  • 3
    Replies

When I am trying to open default scratch org from VS Code terminal. I am getting below error. Can some assist on this.

C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\kit\lib\json.js:27
        throw errors_1.JsonParseError.create(error, data, jsonPath);
        ^
JsonParseError: Unexpected end of JSON input
    at Function.create (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\kit\lib\errors.js:49:20)
    at Object.parseJson (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\kit\lib\json.js:27:39)
    at args.map.arg (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:548:53)
    at Array.map (<anonymous>)
    at _filter (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:500:17)
    at Logger.addFilter.args (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:96:37)
    at bunyan.filters.forEach (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:456:61)
    at Array.forEach (<anonymous>)
    at Logger.applyFilters (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:456:33)
    at Logger.fatal (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:450:32)
    at EventEmitter.Logger.uncaughtExceptionHandler (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:72:18)
    at EventEmitter.emit (events.js:194:15)
    at process.Logger.lifecycle.process.on.err (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:481:51)
    at process.emit (events.js:189:13)
    at process._fatalException (internal/bootstrap/node.js:496:27)
16:26:16.97 sfdx force:org:open ended with exit code 7

Hello

I am not sure if this is possible or not,but i am having a requirement like this.
When we are  sending email from a case(for example) ,sometimes my users get distracted leaving the email aside for sometime.I want an auto save feature to save them to a object when it doenst find any activity on this.

Is this possible?
Or else having a save draft button which saves to salesforce and retrive when needed or when user wants to work on it.
Is this possible.?
Any pointers regrding this please.

Thanks in advance!!

Hi.

 

I am trying to convert a datetime value to milliseconds on a formula I making. Anyone has done it or any ideas? Much appreciate the help and thanks.

 

When I am trying to open default scratch org from VS Code terminal. I am getting below error. Can some assist on this.

C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\kit\lib\json.js:27
        throw errors_1.JsonParseError.create(error, data, jsonPath);
        ^
JsonParseError: Unexpected end of JSON input
    at Function.create (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\kit\lib\errors.js:49:20)
    at Object.parseJson (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\kit\lib\json.js:27:39)
    at args.map.arg (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:548:53)
    at Array.map (<anonymous>)
    at _filter (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:500:17)
    at Logger.addFilter.args (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:96:37)
    at bunyan.filters.forEach (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:456:61)
    at Array.forEach (<anonymous>)
    at Logger.applyFilters (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:456:33)
    at Logger.fatal (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:450:32)
    at EventEmitter.Logger.uncaughtExceptionHandler (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:72:18)
    at EventEmitter.emit (events.js:194:15)
    at process.Logger.lifecycle.process.on.err (C:\Program Files\Salesforce CLI\client\node_modules\@salesforce\core\lib\logger.js:481:51)
    at process.emit (events.js:189:13)
    at process._fatalException (internal/bootstrap/node.js:496:27)
16:26:16.97 sfdx force:org:open ended with exit code 7