SAM SaaS License Management - Salesforce CRM Integration - Please check the Error Logs.TypeError: Cannot read property "Name" from nullIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } "Refresh Salesforce subscription" scheduled job executes successfully but no subscriptions are pulled to the subscription table. System logs record the error 'Cannot read property "Name" from null' Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } ALL Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } As part of the integration subscription pull, we retrieve Permission Set Licenses (PSLs) assigned to users, along with relevant user details such as name and email from the Assignee object. API call: https://<<customerdomain>>.my.salesforce.com/services/data/v48.0/query/?q=Select+++PermissionSetLicense.DeveloperName%2CPermissionSetLicense.MasterLabel%2CPermissionSetLicense.PermissionSetLicenseKey%2CPermissionSetLicense.TotalLicenses%2CPermissionSetLicense.Status%2CPermissionSetLicense.ExpirationDate%2CPermissionSetLicense.UsedLicenses%2CPermissionSetLicenseAssign.AssigneeId%2CPermissionSetLicenseAssign.Assignee.Username%2CPermissionSetLicenseAssign.Assignee.Name%2CPermissionSetLicenseAssign.Assignee.LastLoginDate%2CPermissionSetLicenseAssign.Assignee.Email%2CPermissionSetLicenseAssign.Assignee.CreatedDate%2CPermissionSetLicenseAssign.Assignee.IsActive%2CId+FROM+PermissionSetLicenseAssign In certain cases, the Assignee object is returned as null, resulting in missing user attributes such as Name, Email, etc. Consequently, parsing within the flow fails, and no records are inserted into the subscription table. Expected: Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } The AssigneeId field populated, but the Assignee object returned as null typically indicates that the API user executing the query lacks the necessary permissions to access the related User record, or there is a data visibility/sharing constraint. Deleting the existing access token from the oauth_credential table on the instance and requesting a new one fixed the issue in this case. In general, the following are potential causes and a checklist for troubleshooting. Please review them in collaboration with the customer's Salesforce administrator. 1. Confirm that the necessary steps and permissions align with the product documentation. Integrating with Salesforce CRM2. Check Object and Field Permissions The API user must have Read access to the User object. The API user must have field-level visibility for fields you want to access on the User object (Name, Email, etc.). You can verify this by checking the API user's Profile or Permission Sets.3. Verify Record-Level Access Salesforce's Org-Wide Defaults (OWD) for the User object may be set to Private. If the user doesn't have "View All Users" permission or isn't in the proper role hierarchy, they might be blocked from seeing other user records. Try granting the API user the "View All Users" system permission to test if that fixes the issue.4. Check for User Status If the user assigned by AssigneeId is deactivated or has special sharing restrictions, that can impact visibility.5. API User Context Make sure your API call uses a user context that can see the User records. If you're using a connected app or integration user, double-check that user's permissions.Summary1. AssigneeId is just the ID (always visible if you have access to PermissionSetLicenseAssign).2. Assignee pulls in related user details — you need permission to access those User records.3. Grant or confirm Read access to User object, field-level access, and record visibility.