We are not able to create user records in Instances

saibandaru
Giga Contributor

We are not able create user records in instances both dev and prod , It was coming as Invalid insert 

10 REPLIES 10

Nikhil Bajaj9
Giga Sage

Hi @saibandaru ,

 

It simply means that either you are not filling any field in correct format, the user you are creating in system already. Also check if save Ui Action (OOB) code was changed recently by any developer.

 

If my answer helped you, please makr it- solution accpeted. It will help future Readers as well.

 

Regards,

Nikhil Bajaj

Please appreciate my efforts, help and support extended to you by clicking on – “Accept as Solution”; button under my answer. It will motivate me to help others as well.
Regards,
Nikhil Bajaj

Bhuvan
Tera Sage

@saibandaru 

 

Check if the User ID 'user_name' field already exist in the sys_user table. 

 

You will get this error when you already have an existing record.

 

Bhuvan_0-1756702964984.png

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

Ankur Bawiskar
Tera Patron
Tera Patron

@saibandaru 

why are you creating dummy users in PROD -> Not a good idea

You can check why it's blocked in DEV by checking before insert business rule or you are giving same user id again.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

saibandaru
Giga Contributor

Hi,

We are getting this error while we are syncing the Users from AD , 

Operation against file 'sys_user' was aborted by Business Rule 'Prevent invalid language code^88b43b879767e6503076b4ee2153af6c'. Business Rule Stack:Prevent invalid language code

Thanks

Sai kiran