- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2021 10:45 AM
Hello,
I am working on Integrating Cisco Collector with ServiceNow via the IntegrationHub ETL. I have the REST API's for getting data from Cisco Collector, the Oauth app has been registered and also can successfully get the token.
The error I am seeing is when I open the ETL Transform Map that is supposed to pull in the data from the import sets. I constantly get the following error "There was an error with the partial preview API." and then subsequently step 2 which is "Prepare Source Data for Mapping" shows no data. I have not found any forums or documentation that is relevant to this error.
Would really appreciate your help on this.
Thanks!
Solved! Go to Solution.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2021 09:02 AM
The issue has been resolved. The integration lost some of it's a mappings after moving the update set to prod and hence started throwing the error. I just reloaded the old update sets, committed them one by one and then remapped the fields. That fixed the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2023 04:47 AM
@Per Kristian1 Hi that also works for me, thank you 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2025 02:51 PM
Thank you @Kristian1 Activating the transform also worked for me. Error disappeared immedaitely after activating.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2025 11:47 PM
Root cause: A Reference field used in the lookup was configured to reference the wrong table. When the Partial Preview API attempted to perform the reference lookup, it was unable to fetch the target data, and the internal query object remained uninitialized. That led to the exception:
There was an error with the partial preview API. Transfomation failed: Cannot invoke "com.glide.db.meta.Query.addQuery(com.glide.util.IQueryCondition)" because "this.fQuery" is null
Fix: Correct the Reference field configuration (Dictionary entry) so the Reference points to the correct table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2025 11:50 PM
Root cause: A Reference field used in the lookup was configured to reference the wrong table. When the Partial Preview API attempted to perform the reference lookup, it was unable to fetch the target data, and the internal query object remained uninitialized. That led to the exception:
There was an error with the partial preview API. Transformation failed: Cannot invoke "com.glide.db.meta.Query.addQuery(com.glide.util.IQueryCondition)" because "this.fQuery" is null
Fix: Correct the Reference field configuration (Dictionary entry) so the Reference points to the correct table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hello,
We ran into the exact same issue while integrating Cisco Collector with ServiceNow using IntegrationHub ETL.
Root Cause
The problem occurred after deploying the ETL configuration from one instance to another.
When moving ETL configurations via Update Sets, not all ETL-related records are consistently captured, especially if changes were made directly in the ETL (for example adding or removing fields in the transform). In our case, some related records under the Robust Transform Engine were missing in the target instance.
Because of that mismatch, the ETL Transform Map preview failed with:
"There was an error with the partial preview API."
And Step 2 – Prepare Source Data for Mapping – showed no data.
What to Check
Open the Data Source from which the ETL is selected.
Open the Robust Transform.
Open the Transformer Definition.
In the Related List, check the Robust Transform Engine Entity records.
Compare the number of records between:
Source instance (where it works)
Target instance (where the error occurs)
In our case, the record counts were different between the two instances.
Resolution
We manually recreated/synchronized the missing Robust Transform Engine Entity records in the target instance so that both instances matched.
After correcting the difference, the ETL Transform Map preview worked correctly and Step 2 populated the source data as expected.
Important Note
In our experience, ServiceNow Update Sets do not always capture ETL changes completely, especially when modifying fields directly inside the ETL configuration (like adding/removing fields). These related Robust Transform Engine records can sometimes be missed.
If you encounter this partial preview API error after deployment, definitely compare the Robust Transform Engine Entity records between instances.
Hope this helps others facing the same issue!

