REST Message returns 403 on update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2019 11:22 PM
Dear Community!
Please help me solve this issue:
Im using REST Api to move Asset data from one instance to another using import sets and transform map.
However, when I'm willing to update the asset using coalesce field, it is ignored and I get a 403 response back.
The user has admin roles, and all ACL on alm_asset is set to Admin Overrides (true).
I get the following in the log:
{"error":{"message":"Operation Failed","detail":"Error during insert of u_asset_import_set (Asset 01 Display Name)"},"status":"failure"}
Business Rule running is turned off at the import set.
No read-only fields are sent.
Import is working fine every time.
I tried a lot of things with no luck. Any ideas what is going wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2019 11:26 PM
Hi Adam,
The error says what I believe is you are trying to set display name in a reference field.
What types of fields are being mapped? is there a reference field?
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2019 11:31 PM
Originally there were more than 20 fields mapping with reference fields contained (they are matched with external ID-s on the other side - so it shouldn't be the issue), but right now everything is commented out and I only send two string fields, one of them is the coalesce field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2019 01:19 AM
Hi Adam,
Can you check whether access to this table via web services if false; if it is false then also it can give that error
error 403 means authentication is Ok but user may not have access to perform the action
can you check that
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2019 04:03 AM
Table is set to be accessible via web services (if it wasn't it could not insert records as well)