Troubleshooting

System.QueryException: List has no rows for assignment to SObject

  • Cause: One or more queried records cannot be found.
  • Resolution: Make sure the records that are queried exist.

System.StringException: Invalid id: a0RAa000003iPbMAI

  • Cause: The ID referencing the scenario is invalid.
  • Resolution: Make sure to capture the correct scenario API name from the DC Setup.