Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Troubleshooting "JSONObject text must begin with '{' at character 1" error - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Troubleshooting "JSONObject text must begin with '{' at character 1" error
KB0693863

Troubleshooting "JSONObject text must begin with '{' at character 1" error


22697 Views Last updated : Apr 11, 2025 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Issue

Have you received the "A JSONObject text must begin with '{' at character 1 of ..." error message? See below for potential causes and resolution steps.

An error message containing the text 'A JSONObject text must begin with '{' at character 1...'

Release

All

Cause

This error message may be seen due to keystore corruption in MID server.

Resolution

  1. Make sure the mid server windows service "Log on as" account is either a local admin account, or has full permission to mid server folder.
  2. On MID server host, stop MID server windows service.
  3. For pre-Rome release, delete the keystore file in agent/keystore folder. For Rome and onward releases, delete the keystore file in agent/security folder.
  4. Open config.xml and remove the keystore value. i.e:
    <parameter name="keypairs.mid_id" value=""/> 
  5. In config.xml, locate parameter mid.instance.password, empty the value, then enter mid server user's password in clear text (it will be re-encrypted automatically when MID server service starts).
  6. Start MID server windows service.
  7. The mid server will start up as not validated. Click the validate link and the MID server should restart and then validated.

Related Links

This error is also observed when clients switch between JRE versions (e.g: from Java 8 to Java 11). Since this changes the Java implementation the Java keystore is also changed. If this is not flushed from config.xml then the new Java cannot decrypt the keystore and throws errors similar to keystore corruption.


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.