Description

Unable to onboard devices because the device onboarding request fails with errors as below:

 

  • GroupTrigger: execution of BeforeInsert caused by: System.QueryException: List has no rows for assignment to SObject Class.GroupTriggerHandler.handleBeforeInsert: line 43, column 1 Trigger.GroupTrigger: line 13, column 1

 

  • insufficient access rights on cross-reference-id: a8dDp000000GymY

 

Symptoms

  1. GroupTrigger: execution of BeforeInsert caused by: System.QueryException: List has no rows for assignment to SObject Class.GroupTriggerHandler.handleBeforeInsert: line 43, column 1 Trigger.GroupTrigger: line 13, column 1
  2. Insufficient access rights on cross-reference-id: a8dDp000000GymY

 

Solution

The errors mentioned above happen due to the following reasons:

 

  1. The username(email address) used for submitting the device onboarding request is not mapped to the account ID (customer ID) in the device onboarding request.
  2. The credentials added in the device onboarding request are not mapped to the account ID (customer ID) specified in the device onboarding request.

 

Both of these requests are fixed by mapping the username and the credentials to the proper account or customer ID. Please contact Juniper Support if you need assistance to map the usernames.

Modification History

2024-04-30 : Article Created

2025-11-24: Minor edits and visibility change