<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Regarding  SFTP Flow action in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/regarding-sftp-flow-action/m-p/3360437#M4283</link>
    <description>&lt;P&gt;I am currently using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SFTP Flow action&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;step with command&lt;/SPAN&gt;&amp;nbsp;"copy file to this instance" from a remote server. However, I am encountering the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[{"file_name":"InstallbaseI-2024-06-13.csv","error":"Error creating Attachment InstallbaseI-2024-06-13.csv : Method failed: (/api/now/v1/attachment/file) with code: 40"}]&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;Could you please help me debug this issue?&lt;/P&gt;</description>
    <pubDate>Sun, 24 Aug 2025 18:05:49 GMT</pubDate>
    <dc:creator>sanjeevkumar</dc:creator>
    <dc:date>2025-08-24T18:05:49Z</dc:date>
    <item>
      <title>Regarding  SFTP Flow action</title>
      <link>https://www.servicenow.com/community/community-central-forum/regarding-sftp-flow-action/m-p/3360437#M4283</link>
      <description>&lt;P&gt;I am currently using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SFTP Flow action&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;step with command&lt;/SPAN&gt;&amp;nbsp;"copy file to this instance" from a remote server. However, I am encountering the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[{"file_name":"InstallbaseI-2024-06-13.csv","error":"Error creating Attachment InstallbaseI-2024-06-13.csv : Method failed: (/api/now/v1/attachment/file) with code: 40"}]&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;Could you please help me debug this issue?&lt;/P&gt;</description>
      <pubDate>Sun, 24 Aug 2025 18:05:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/regarding-sftp-flow-action/m-p/3360437#M4283</guid>
      <dc:creator>sanjeevkumar</dc:creator>
      <dc:date>2025-08-24T18:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding  SFTP Flow action</title>
      <link>https://www.servicenow.com/community/community-central-forum/regarding-sftp-flow-action/m-p/3360440#M4285</link>
      <description>&lt;P&gt;Hi @sanjeevkumr&lt;/P&gt;&lt;P&gt;: The error code 40 typically indicates a "Payload content type is not supported" or "Invalid file type" error in ServiceNow.&lt;/P&gt;&lt;P&gt;Possible Causes&lt;BR /&gt;1. *File Type*: The file type being uploaded might not be supported or correctly identified by ServiceNow.&lt;BR /&gt;2. *File Size*: The file size might be exceeding the maximum allowed limit.&lt;BR /&gt;3. *Attachment Configuration*: The attachment configuration in ServiceNow might not be set up correctly.&lt;/P&gt;&lt;P&gt;Debugging Steps&lt;BR /&gt;1. *Verify File Type*: Check if the file type (CSV) is supported by ServiceNow and if the file is not corrupted.&lt;BR /&gt;2. *Check File Size*: Ensure the file size is within the allowed limit.&lt;BR /&gt;3. *Attachment Configuration*: Review the attachment configuration in ServiceNow to ensure it's set up correctly.&lt;/P&gt;&lt;P&gt;SFTP Flow Action Step Configuration&lt;BR /&gt;1. *File Path*: Verify the file path in the SFTP Flow action step is correct.&lt;BR /&gt;2. *File Name*: Ensure the file name is correctly specified and matches the file being uploaded.&lt;/P&gt;&lt;P&gt;Additional Troubleshooting&lt;BR /&gt;1. *Check ServiceNow Logs*: Review the ServiceNow logs for more detailed error messages.&lt;BR /&gt;2. *Test with a Different File*: Try uploading a different file to see if the issue is specific to the file or the SFTP Flow action step.&lt;/P&gt;&lt;P&gt;API Endpoint&lt;BR /&gt;The error message mentions the `/api/now/v1/attachment/file` endpoint. Ensure this endpoint is correctly configured and accessible.&lt;/P&gt;&lt;P&gt;If none of these steps resolve the issue, please provide more details about your SFTP Flow action step configuration and the ServiceNow setup for further assistanceThe error code 40 typically indicates a "Payload content type is not supported" or "Invalid file type" error in ServiceNow.&lt;/P&gt;&lt;P&gt;Possible Causes&lt;BR /&gt;1. *File Type*: The file type being uploaded might not be supported or correctly identified by ServiceNow.&lt;BR /&gt;2. *File Size*: The file size might be exceeding the maximum allowed limit.&lt;BR /&gt;3. *Attachment Configuration*: The attachment configuration in ServiceNow might not be set up correctly.&lt;/P&gt;&lt;P&gt;Debugging Steps&lt;BR /&gt;1. *Verify File Type*: Check if the file type (CSV) is supported by ServiceNow and if the file is not corrupted.&lt;BR /&gt;2. *Check File Size*: Ensure the file size is within the allowed limit.&lt;BR /&gt;3. *Attachment Configuration*: Review the attachment configuration in ServiceNow to ensure it's set up correctly.&lt;/P&gt;&lt;P&gt;SFTP Flow Action Step Configuration&lt;BR /&gt;1. *File Path*: Verify the file path in the SFTP Flow action step is correct.&lt;BR /&gt;2. *File Name*: Ensure the file name is correctly specified and matches the file being uploaded.&lt;/P&gt;&lt;P&gt;Additional Troubleshooting&lt;BR /&gt;1. *Check ServiceNow Logs*: Review the ServiceNow logs for more detailed error messages.&lt;BR /&gt;2. *Test with a Different File*: Try uploading a different file to see if the issue is specific to the file or the SFTP Flow action step.&lt;/P&gt;&lt;P&gt;API Endpoint&lt;BR /&gt;The error message mentions the `/api/now/v1/attachment/file` endpoint. Ensure this endpoint is correctly configured and accessible.&lt;/P&gt;&lt;P&gt;If none of these steps resolve the issue, please provide more details about your SFTP Flow action step configuration and the ServiceNow setup for further assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you find this answer helpful please do mark it as helpful and accept the solution&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abin&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Aug 2025 18:15:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/regarding-sftp-flow-action/m-p/3360440#M4285</guid>
      <dc:creator>AbinC</dc:creator>
      <dc:date>2025-08-24T18:15:20Z</dc:date>
    </item>
  </channel>
</rss>

