Loading

Error ‘List has no rows for assignment to SObject’ in Salesforce CPQ

Date de publication: Jun 9, 2026
Description
The error "List has no rows for assignment to SObject" occurs when a query doesn't return any rows.
Résolution

The error 'List has no rows for assignment to SObject' occurs when an invalid quote process ID exists on the Quote's Quote Process ID field. This field is meant to be populated by automation. 

This issue can also occur when the user attempts to reconfigure a Primary Quote without Read access to the associated Opportunity. Lack of access to the Opportunity object throws List has no rows for assignment to SObject' since our code queries for the Primary Quote on that opportunity.

Numéro d’article de la base de connaissances

000382165

 
Chargement
Salesforce Help | Article