File Does not Contain Source Id and sailpoint.object.Session.getAccessToken()

I have created one Delimeted File Source in SailPoint ISC.

I am trying to use File Upload utility through PowerShell script. I have included sourceid-filename.csv path. Still I am facing Source file does not contain source id issue.

Hello @sukarande , I guess your file name has issues please compare the file name with your sourceID.

File name format:

image

Hi @sukarande ,

Please check below screenshot.

Hi @Pankaj_IAM_SailPoint

My Source name is “Master Employee UPN” and file name is “e66f5521ad8b4397a7882f6cdc59c39c-MasterUPN.csv”

Hi @sukarande What command line options are you using?

I have written powershell script for it.

Hello @sukarande , You can click on Admin—> Connections—> Sources
Under that select your source and look for the URL.

For Example:

Verify based on your source.

As per your screenshot give me file name exampl.

Hi @sukarande ,

Can you please try with cloudExternalId ?

Hi @sukarande Could you provide the command line options that your PowerShell script is using?

I have used latest jar and issue is resolved.

But with new jar I am getting below exception.

Cannot invoke “sailpoint.object.Session.getAccessToken()” because “this.session”
is null. For PAT Token I have added all:scope.

Adding my custom Logs of Powershell Script.

[2026-06-30 10:37:52] Starting Master UPN DataFeed Upload…
[2026-06-30 10:38:36] SUCCESS: File uploaded successfully.
[2026-06-30 10:38:38] ------------------------------------------------------------------------------------------------------------
[2026-06-30 10:38:38] SailPoint File Upload Utility
[2026-06-30 10:38:38] ------------------------------------------------------------------------------------------------------------
[2026-06-30 10:38:38] Version: 4.1.0
[2026-06-30 10:38:38] Date: 2024-09-10 16:15 CST
[2026-06-30 10:38:38] Docs: File Upload Utility
[2026-06-30 10:38:38] ------------------------------------------------------------------------------------------------------------
[2026-06-30 10:38:38] URL: our client Tenant URL
[2026-06-30 10:38:38] Client ID: 4aa608e127704d69abb11ffe39d08518
[2026-06-30 10:38:38] Files: D:\SUMIT_UK\e66f5521ad8b4397a7882f6cdc59c39c-MasterUPN.csv
[2026-06-30 10:38:38] ObjectType: account
[2026-06-30 10:38:38] Optimization: true
[2026-06-30 10:38:38] Recursive: false
[2026-06-30 10:38:38] Extensions: csv
[2026-06-30 10:38:38] Simulation: false
[2026-06-30 10:38:38] Verbose: true
[2026-06-30 10:38:38] Timeout: 10000
[2026-06-30 10:38:38] ------------------------------------------------------------------------------------------------------------
[2026-06-30 10:38:38] Checking credentials…
[2026-06-30 10:38:38] Analyzing account file: D:\SUMIT_UK\e66f5521ad8b4397a7882f6cdc59c39c-MasterUPN.csv
[2026-06-30 10:38:38] Analyzing account file: e66f5521ad8b4397a7882f6cdc59c39c-MasterUPN.csv
[2026-06-30 10:38:38] File [e66f5521ad8b4397a7882f6cdc59c39c-MasterUPN.csv]: detected with source ID reference [e66f5521ad8b4397a7882f6cdc59c39c].
[2026-06-30 10:38:38] File [e66f5521ad8b4397a7882f6cdc59c39c-MasterUPN.csv]: Submitting Account Aggregation: Source ID[e66f5521ad8b4397a7882f6cdc59c39c], Disable Optimization[false]
[2026-06-30 10:38:38] File [e66f5521ad8b4397a7882f6cdc59c39c-MasterUPN.csv]: Error: Cannot invoke “sailpoint.object.Session.getAccessToken()” because “this.session” is null
[2026-06-30 10:38:38] Complete.
[2026-06-30 10:38:38] ------------------------------------------------------------------------------------------------------------
[2026-06-30 10:38:38] Elapsed time: 40 seconds
[2026-06-30 10:38:38] Files processed: 1
[2026-06-30 10:38:38] ------------------------------------------------------------------------------------------------------------
[2026-06-30 10:38:38] Success: 0
[2026-06-30 10:38:38] ------------------------------------------------------------------------------------------------------------
[2026-06-30 10:38:38] Error: 1
[2026-06-30 10:38:38] D:\SUMIT_UK\e66f5521ad8b4397a7882f6cdc59c39c-MasterUPN.csv
[2026-06-30 10:38:38] ------------------------------------------------------------------------------------------------------------
[2026-06-30 10:38:38] Skipped: 0
[2026-06-30 10:38:38] ------------------------------------------------------------------------------------------------------------
[2026-06-30 10:38:38] java.net.SocketTimeoutException: Connect timed out
[2026-06-30 10:38:38] at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:539)
[2026-06-30 10:38:38] at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:585)
[2026-06-30 10:38:38] at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
[2026-06-30 10:38:38] at java.base/java.net.Socket.connect(Socket.java:666)
[2026-06-30 10:38:38] at okhttp3.internal.platform.Platform.connectSocket(Platform.java:130)
[2026-06-30 10:38:38] at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:263)
[2026-06-30 10:38:38] at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:183)
[2026-06-30 10:38:38] at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.java:224)
[2026-06-30 10:38:38] at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.java:108)
[2026-06-30 10:38:38] at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.java:88)
[2026-06-30 10:38:38] at okhttp3.internal.connection.Transmitter.newExchange(Transmitter.java:169)
[2026-06-30 10:38:38] at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:41)
[2026-06-30 10:38:38] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
[2026-06-30 10:38:38] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
[2026-06-30 10:38:38] at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
[2026-06-30 10:38:38] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
[2026-06-30 10:38:38] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
[2026-06-30 10:38:38] at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
[2026-06-30 10:38:38] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
[2026-06-30 10:38:38] at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
[2026-06-30 10:38:38] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
[2026-06-30 10:38:38] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
[2026-06-30 10:38:38] at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
[2026-06-30 10:38:38] at okhttp3.RealCall.execute(RealCall.java:81)
[2026-06-30 10:38:38] at retrofit2.OkHttpCall.execute(OkHttpCall.java:207)
[2026-06-30 10:38:38] at sailpoint.service.SailPointService.createSession(SailPointService.java:110)
[2026-06-30 10:38:38] at sailpoint.utils.FileUploadUtility.call(FileUploadUtility.java:245)
[2026-06-30 10:38:38] at sailpoint.utils.FileUploadUtility.main(FileUploadUtility.java:145)
[2026-06-30 10:38:38] java.net.SocketTimeoutException: Connect timed out
[2026-06-30 10:38:38] at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:539)
[2026-06-30 10:38:38] at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:585)
[2026-06-30 10:38:38] at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
[2026-06-30 10:38:38] at java.base/java.net.Socket.connect(Socket.java:666)
[2026-06-30 10:38:38] at okhttp3.internal.platform.Platform.connectSocket(Platform.java:130)
[2026-06-30 10:38:39] at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:263)
[2026-06-30 10:38:39] at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:183)
[2026-06-30 10:38:39] at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.java:224)
[2026-06-30 10:38:39] at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.java:108)
[2026-06-30 10:38:39] at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.java:88)
[2026-06-30 10:38:39] at okhttp3.internal.connection.Transmitter.newExchange(Transmitter.java:169)
[2026-06-30 10:38:39] at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:41)
[2026-06-30 10:38:39] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
[2026-06-30 10:38:39] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
[2026-06-30 10:38:39] at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
[2026-06-30 10:38:39] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
[2026-06-30 10:38:39] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
[2026-06-30 10:38:39] at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
[2026-06-30 10:38:39] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
[2026-06-30 10:38:39] at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
[2026-06-30 10:38:39] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
[2026-06-30 10:38:39] at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
[2026-06-30 10:38:39] at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
[2026-06-30 10:38:39] at okhttp3.RealCall.execute(RealCall.java:81)
[2026-06-30 10:38:39] at retrofit2.OkHttpCall.execute(OkHttpCall.java:207)
[2026-06-30 10:38:39] at sailpoint.service.SailPointService.createSession(SailPointService.java:110)
[2026-06-30 10:38:39] at sailpoint.service.SailPointService.getAuthenticatedService(SailPointService.java:53)
[2026-06-30 10:38:39] at sailpoint.service.SailPointService.aggregateAccounts(SailPointService.java:144)
[2026-06-30 10:38:39] at sailpoint.utils.FileUploadUtility.processFile(FileUploadUtility.java:333)
[2026-06-30 10:38:39] at sailpoint.utils.FileUploadUtility.call(FileUploadUtility.java:273)
[2026-06-30 10:38:39] at sailpoint.utils.FileUploadUtility.main(FileUploadUtility.java:145)
[2026-06-30 10:38:39] Process completed.

@j_place

With new jar I have used below command.

This issue is resolved.

  1. Used latest jar sailpoint-file-upload-utility-4.1.0.jar

  2. Updated Script. added timout and proxy setting.

try {

    $procUploader = Start-Process java -ArgumentList @(
        "-jar", $cfgJarPath,
        "--url", $cfgURL,
        "--clientId", $cfgClientID,
        "--clientSecret", $cfgClientSecret,
        "--file", $cfgCsvFileName,
        "--proxyHost", $cfgProxyHost,
        "--proxyPort", $cfgProxyPort,
        "--timeout", "1000000",
        "-v"
    ) -NoNewWindow -Wait `
      -RedirectStandardOutput $consoleOut `
      -RedirectStandardError $consoleErr `
      -PassThru

    $exitCode = $procUploader.ExitCode