- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2025 06:02 AM
I recently upgraded my sdk version to 4.0.0 and am now seeing this error more often:
[now-sdk] ERROR: Plugin "ViewPlugin" failed to inspect shape "Record": Product origin is not a node
It appears to show up when I do a "now-sdk transform" and a "now-sdk transform --from metadata/update"
I was curious if anyone has seen similar issues/knows how to resolve this?
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hey Martin,
I ended up fixing this in a slightly different way:
I converted the [sys_ui_view] XML record to fluent which fixed the 'ViewPlugin' error; however, I then received this error message when running 'now-sdk build' which is documented here: Solved: SDK Build Error: TS303 - View name can only contai... - ServiceNow Community
[now-sdk] ERROR: src/fluent/generated/sys_ui_view_xyz26b7513c29e90a412225c416d4391.now.ts:8:15 - error TS11: View name can only contain alphanumeric characters
8 name: 'sys_popup,enterprise',
~~~~~~~~~~~~~~~~~~~~~~
So, I updated the fluent record to include the '//@fluent-ignore' comment to ignore the naming issue, so it looked like this:
//@fluent-ignore
name: 'sys_popup,enterprise',
I then performed the 'now-sdk build' again and I no longer see the 'ViewPlugin' error or the 'view name' error.
This was done with the now-sdk version of 4.1.1
I believe removing the sys_ui_view records entirely would have fixed the issue, I just opted to keep them by converting them to fluent.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hey Martin,
I ended up fixing this in a slightly different way:
I converted the [sys_ui_view] XML record to fluent which fixed the 'ViewPlugin' error; however, I then received this error message when running 'now-sdk build' which is documented here: Solved: SDK Build Error: TS303 - View name can only contai... - ServiceNow Community
[now-sdk] ERROR: src/fluent/generated/sys_ui_view_xyz26b7513c29e90a412225c416d4391.now.ts:8:15 - error TS11: View name can only contain alphanumeric characters
8 name: 'sys_popup,enterprise',
~~~~~~~~~~~~~~~~~~~~~~
So, I updated the fluent record to include the '//@fluent-ignore' comment to ignore the naming issue, so it looked like this:
//@fluent-ignore
name: 'sys_popup,enterprise',
I then performed the 'now-sdk build' again and I no longer see the 'ViewPlugin' error or the 'view name' error.
This was done with the now-sdk version of 4.1.1
I believe removing the sys_ui_view records entirely would have fixed the issue, I just opted to keep them by converting them to fluent.
Thanks!
