Salesforce probe v2.0 invalid field in query due to old api version
search cancel

Salesforce probe v2.0 invalid field in query due to old api version

book

Article ID: 246138

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

We are using the UIM Salesforce probe version 2.0/2.0T2


This probe uses API version 31 to connect and execute SOQL queries.


--> salesforce.log output:
--> Jun 23 12:50:38:331 [attach_socket, salesforce] Authentication endpoint is https://login.salesforce.com/services/Soap/u/31.0

This version is the last supported by the probe but the latest API supported by Saleforce v55

 

We are not able to query many default subject fields because of this:

e.g. subject UserLicense
--> Fields NOT available for API version 31 : TotalLicenses, Status, UsedLicenses, UsedLicensesLastUpdated, MasterLabel, CreatedDate, LastModifiedDate
--> Available: id, Name, LicenseDefinitionKey, MonthlyLoginsUsed, MonthlyLoginsEntitlement, SystemModstamp


see https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_userlicense.html

- TotalLicenses: This field is available in API version 32.0 and later.
- Status: This field is available in API version 32.0 and later.
- UsedLicenses: This field is available in API version 32.0 and later.
- UsedLicensesLastUpdated: This field is available in API version 41.0 and later.
- MasterLabel: This field is available in API version 32.0 and later.
- MonthlyLoginsEntitlement: This field is available in API version 20.0 and later.

Environment

Release : 20.4

Component : UIM - SALESFORCE PROBE 2.0

Cause

The Current version of salesforce probe does not support API Vesions > v31

Resolution

As per the information posted here, the API versions up to v30 would be EoL by summer of 2023.

v31 version, currently supported by the probe, will still be supported by that time.

 

The last version of the probe (2.02 released October 2022) supports Salesforce API v55.

salesforce (Salesforce Monitoring) Release Notes (broadcom.com)