Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

"Import set not created, invalid target table" error when I create a new data source and try to run the load test records function.

jamie_girouard
Giga Expert

Why would this be happening?   I'm trying to import open incident records from my production SN instance to our development instance.

 

I followed the steps in Importing from Another ServiceNow Instance - ServiceNow Wiki and I keep getting the above error and the table isn't being createad.

 

The Import Set Table Name is a unique table name, and this is the file path: /incident.do?XML&sysparm_query=active%3Dtrue%5Estate%3D1 - which if I run it via a direct web service is a valid query.

 

Help?

1 ACCEPTED SOLUTION

jamie_girouard
Giga Expert

I figured out my own issue.   I didn't have the correct XPath selected.   For some reason, it didn't work when I entered xml//incident, but did work when I entered //incident.   I would have thought the former would work!


View solution in original post

2 REPLIES 2

jamie_girouard
Giga Expert

I figured out my own issue.   I didn't have the correct XPath selected.   For some reason, it didn't work when I entered xml//incident, but did work when I entered //incident.   I would have thought the former would work!


Allow me to bump this thread - I encountered this problem today working on LDAP imports. After some ranting I found out there was an error in my LDAP filter.



So for anyone who is facing this - I think it's safe to say that one possible reason for "Import set not created" is that you have a faulty data source which can be loaded, but is not providing any data.