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.
Error: NdlException: error loading ndl - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Error: NdlException: error loading ndl
KB0690934

Error: NdlException: error loading ndl


1037 Views Last updated : Jul 24, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

Go to Discovery Patterns, When you click on a pattern it throws an exception like "NdlException: Error loading ndl" and nothing comes up

Cause

  • This error usually happens when you make a modification directly to the pattern NDL (the thing that looks like the coded script in the pattern record under the 'pattern' tab)
  • It can also happen if you uploaded a pattern from a newer release of the platform into an older release. (i.e. Kingston to Jakarta, the reverse will work though, like Jakarta to Kingston (this is due to new features in the pattern that are not in older versions)).

Resolution

  • You can isolate the pattern on the list view on the pattern on the pattern table
  • Export the pattern into as XML
  • Remove the modifications that caused the issue in the XML, directly to the NDL code.
  • Upload the XML back into the pattern table.
  • You can also import the pattern from another instance where the pattern is out of the box.
  • Just keep in mind, that is you are importing from another instance that the other instance is of the same version

Related Links

  • When you import from another version, the pattern will now be the same as the version from which you are importing from. So you will lose any customizations you made in the current pattern where the issue is happening. 


    NOTE: If you are looking for the OOTB Pattern of the current version, please do contact Customer Support via case.

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?

Attachments

Attachments

  • Pasted image.png

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.