department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
282 stars 203 forks source link

User submissions failed due to missing ICN in the Lighthouse API request #95942

Open sethdarragile6 opened 2 days ago

sethdarragile6 commented 2 days ago

From 10/23-10/24, 6 duplicate submissions from 2 unique users entered the backup path and failed due to a missing ICN in the lighthouse API request. From the job submission records:

bgjob_errors:
   {"1729720521"=>
     {"timestamp"=>"2024-10-23T21:55:21.557Z",
      "error_class"=>"ArgumentError",
      "caller_method"=>"error_hash_for_job_status",
      "error_message"=>"no ICN passed in for LH API request."},

Eventually, the users were able to submit successfully, and the dupe submissions were remediated. Digging into the UserAccount records behind these submissions, it was found that there were indeed 2 UserAccounts associated- one with an ICN, and one where ICN was nil

Relevant Info

Tasks

Acceptance Criteria