SCP job failing with "Error uploading: Unable to create or access resource "
search cancel

SCP job failing with "Error uploading: Unable to create or access resource "


Article ID: 260401


Updated On:


Workload Automation Agent


we have a user trying to run SCP job type and is getting this error below

SNW_PRS_CATALOGITEMS_SW_SN_SFTP                                  02/21/2023 04:30:16  02/21/2023 04:30:17  FA    93641312/1 1

  Status/[Event]  Time                 Ntry ES  ProcessTime           Machine
  --------------  --------------------- --  --  --------------------- ----------------------------------------
  STARTING        02/21/2023 04:30:15    1  PD  02/21/2023 04:30:16   bdcmsap
  RUNNING         02/21/2023 04:30:16    1  PD  02/21/2023 04:31:16   bdcmsap
    <Executing at WA_AGENT>
  FAILURE         02/21/2023 04:30:17    1  PD  02/21/2023 04:31:58
    <Error uploading: Unable to create or access resource ''.>
  [*** ALARM ***]


insert_job: SNW_PRS_CATALOGITEMS_SW_SN_SFTP   job_type: SCP
machine: bdcmsap
owner: [email protected]
date_conditions: 0
description: "CRIT: HIGH RERUN: N MF DEP: N Desc:daily ftp PRS_CatalogItems_SW_SN to SAMIDP0006"
box_terminator: 1
alarm_if_fail: 1
alarm_if_terminated: 1
group: SNW
application: SNW_FTP
svcdesk_desc: "RITM1799957"
scp_transfer_direction: UPLOAD
scp_server_name: bdcmsap
scp_server_port: 22
scp_remote_dir: "/glide/midserver/itam"
scp_remote_name: "PRS_CatalogItems_SW_SN.csv"
scp_local_name: "\\\\sapftp0001\\Data\\FileXfer\\download\\SND\\PRS_CatalogItems_SW_SN.csv"
scp_target_os: UNIX
scp_protocol: SFTP
scp_local_user: [email protected]
run_external: 0
scp_delete_sourcedir: 0



Release : 12.0


  • User may not have permissions to access ALL of the directories in the UNC path. Verify permissions by logging on as the job owner and change directory into each level.
    The user MUST be able to traverse through each directory. If at any point, an access denied message appears, you'll need to resolve this to allow the user to access.
    For example, using the UNC path specified as scp_local_name in the job definition, the user must be able to access ALL levels as shown below:
    • \\sapftp0001\Data
    • \\sapftp0001\Data\FileXfer
    • \\sapftp0001\Data\FileXfer\download
    • \\sapftp0001\Data\FileXfer\download\SND

Additional Information

If the resolution indicated above does not resolve your issue, follow process below to capture additional details for Support Review

  • Add ftp.scp.debug.enable=true to the agentparm.txt file
  • Restart agent for change to take effect.
  • Run your SCP job to reproduce the error.
  • Compress the entire agent log directory as well as the agentparm.txt file.
  • Open a case with Support and attach the logs and agentparm.txt file for review.