- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 10:08 AM
Hi, I'm new to ServiceNow; I created and moved a new rest message from my employer's development environment to their test environment, but I see an error:
-- Type: Error
-- Remote update: sys_rest_message_74ffe5c11b8a5a103a4c6351f54bcbe6
-- Description: Could not find a record in sys_auth_profile_basic for column basic_auth_profile referenced in this update
-- Available action:
-- Find missing record
-- Find missing update
-- Accept remote update
-- Skip remote update
Is there something I am missing?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2024 09:33 PM
Hi @BenFan ,
this is because basic auth profile didn’t get captured in your update set. You have to manually captured this as this is record not a configuration so by default it won’t get captured in update set.
Solution: reopen update set in dev and capture it in update set and then move to uat.
Accept the solution if it helped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 10:32 AM
Hi,
1. Identify the Issue:
In your target instance, the Basic Auth Profile reference field in the REST Message you are trying to commit is empty therefore it is telling you "hey, you are importing this record but one if its reference fields is empty" this is due to not including the basic auth profile record on the update set.
2. Locate the Missing Record:
Click on the Find Missing Record link in the reference field.
This will open the corresponding Basic Auth Profile record in the source instance.
3. Export the Record from the Source Instance:
On the source instance, download the XML of the Basic Auth Profile record:
1.Right-click on the header of the record form.
2. Select Export > XML.
4. Import the Record into the Target Instance:
In the target instance:
1. Navigate to basic_auth_profile.list (open the list view for the Basic Auth Profile table).
2.Right-click on the table header to open the contextual menu.
3. Choose Import XML and upload the XML file from the source instance.
5.Review your update set again and this error should go away
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 07:58 AM
Hi,
I was able to resolve this error by doing the following, importing the XML from the User table.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2024 08:11 PM - edited 11-23-2024 08:11 PM
@BenFan The error indicates that the REST Message you moved to the test environment references a Basic Authentication Profile (sys_auth_profile_basic) that does not exist in the target environment. This happens because authentication profiles are stored as separate records in ServiceNow, and they are not automatically included when you migrate REST Messages
Just verify if helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 08:00 AM
Yes, the info is very helpful.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2024 09:33 PM
Hi @BenFan ,
this is because basic auth profile didn’t get captured in your update set. You have to manually captured this as this is record not a configuration so by default it won’t get captured in update set.
Solution: reopen update set in dev and capture it in update set and then move to uat.
Accept the solution if it helped.