function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Belta ChenBelta Chen 

Trailhead Data Manager:Insert failed. First exception on row 999; first error: INVALID_CROSS_REFERENCE_KEY, 所有者 ID: 所有者を空白にしておくことはできません: [OwnerId]

Hi All,could u help with below error? Thank you in advance.

・On the Trailhead Data Manager home page, select Trailhead Data Manager.
・On the next page, click Refresh DTC Data.

User-added image
Best Answer chosen by Belta Chen
NagendraNagendra (Salesforce Developers) 
Hi Muyang,

Sorry for this issue you are facing.

I faced a similar issue in the past.

Your org should contain all users that are referenced by the DTC data. For Trailhead Data Manager v2.4 these are:
 
Bruce Kennedy, Doroth Gardner, Laura Garza, Irene Kelley, Nicolas Weaver, Catherine Brown, Evelyn Williamson, Irene McCoy, Kelly Frazier, Harold Campbell, Johnny Green, Dennis Howard, Jessica Nichols, Eric Sanchez, Admin User, Chris Riley, Julie Chavez, John Williams, Eric Gutierrez, Laura Palmer

In my org Doroth Gardner and Admin User were missing. The usernames should start with 'trailhead' as quota data is only generated for such users. Once you have created the missing users you must reload the Trailhead Data Manager page as the user mappings are being cached.

Hope this works for you is well.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra

All Answers

NagendraNagendra (Salesforce Developers) 
Hi Muyang,

Sorry for this issue you are facing.

I faced a similar issue in the past.

Your org should contain all users that are referenced by the DTC data. For Trailhead Data Manager v2.4 these are:
 
Bruce Kennedy, Doroth Gardner, Laura Garza, Irene Kelley, Nicolas Weaver, Catherine Brown, Evelyn Williamson, Irene McCoy, Kelly Frazier, Harold Campbell, Johnny Green, Dennis Howard, Jessica Nichols, Eric Sanchez, Admin User, Chris Riley, Julie Chavez, John Williams, Eric Gutierrez, Laura Palmer

In my org Doroth Gardner and Admin User were missing. The usernames should start with 'trailhead' as quota data is only generated for such users. Once you have created the missing users you must reload the Trailhead Data Manager page as the user mappings are being cached.

Hope this works for you is well.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra
This was selected as the best answer
Belta ChenBelta Chen
Hi Nagendra, It’s work well now. Thank you very much. Thanks, Muyang chen
NagendraNagendra (Salesforce Developers) 
Hi Muyang,

I am glad that it helped.

May I request you please go ahead and mark this thread as closed by marking it as solved.

Thanks,
Nagendra 
Lvrong ZhangLvrong Zhang
Hi,Chen,
I'm facing the same issue .

I've add the missing user"Admin User",but it doesn't work.
User-added image
Could u help with this?