<?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>topic Re: Could not determine name from file in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/798524#M64305</link>
    <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/185960"&gt;@PieterVHeerden&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your question!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I don't see an error message in your post. Can you add it here as a reply? Pasting it in and using the code block tool is best, as extracting the error messages and searching with them is hard with from just a screenshot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I have a few questions:&lt;/LI&gt;
&lt;LI&gt;Could you please provide the full error message you're encountering? This can often give us more insight into what's going wrong.&lt;/LI&gt;
&lt;LI&gt;Can you share a sample of your request, including the URL, headers, and body, along with the response you receive? You can just copy and paste this from Postman. Please remember to &lt;EM&gt;exclude any sensitive information&lt;/EM&gt;.&lt;/LI&gt;
&lt;LI&gt;Are you confident that your base64 string is a valid representation of the file you're trying to upload? Mis-formatted or corrupted base64 strings can cause issues when uploading files.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you! — Jaycee&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 17:58:48 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2023-05-24T17:58:48Z</dc:date>
    <item>
      <title>Could not determine name from file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/797560#M64247</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am using the following API to upload a file using postman&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/files/v3/files&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using this as my guideline :&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api/files/files" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/api/files/files&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When i select a file, it creates the file in CRM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When i change the file paramater to text (and add my base64 string), i get the above error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Even if i add the fileName paramater, it says the same thing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be appreciated. I know it is something very small&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 11:14:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/797560#M64247</guid>
      <dc:creator>PieterVHeerden</dc:creator>
      <dc:date>2023-05-23T11:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine name from file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/798524#M64305</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/185960"&gt;@PieterVHeerden&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your question!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I don't see an error message in your post. Can you add it here as a reply? Pasting it in and using the code block tool is best, as extracting the error messages and searching with them is hard with from just a screenshot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I have a few questions:&lt;/LI&gt;
&lt;LI&gt;Could you please provide the full error message you're encountering? This can often give us more insight into what's going wrong.&lt;/LI&gt;
&lt;LI&gt;Can you share a sample of your request, including the URL, headers, and body, along with the response you receive? You can just copy and paste this from Postman. Please remember to &lt;EM&gt;exclude any sensitive information&lt;/EM&gt;.&lt;/LI&gt;
&lt;LI&gt;Are you confident that your base64 string is a valid representation of the file you're trying to upload? Mis-formatted or corrupted base64 strings can cause issues when uploading files.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you! — Jaycee&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 17:58:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/798524#M64305</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-05-24T17:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine name from file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/798732#M64324</link>
      <description>&lt;P&gt;Hi Jaycee,&lt;/P&gt;&lt;P&gt;Please see below. If i upload a file in postman it works. once I change file to be text in the body, that is when it fails. If i add fileName in the body, this yields the same error&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Could you please provide the full error message you're encountering? This can often give us more insight into what's going wrong.&lt;UL&gt;&lt;LI&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"status":&amp;nbsp;"error",&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"message":&amp;nbsp;"Could&amp;nbsp;not&amp;nbsp;determine&amp;nbsp;name&amp;nbsp;from&amp;nbsp;file",&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"correlationId":&amp;nbsp;"3460cb4a-1540-403d-99af-5cad3692bcfa",&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"category":&amp;nbsp;"BAD_REQUEST"&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Can you share a sample of your request, including the URL, headers, and body, along with the response you receive? You can just copy and paste this from Postman. Please remember to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;exclude any sensitive information&lt;/EM&gt;.&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Params = nothing&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;POST&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{baseUrl}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/files/v3/files&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN&gt;Auth = Bearer Token&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PieterVHeerden_0-1684991766707.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/91670iC788C94C30705710/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PieterVHeerden_0-1684991766707.png" alt="PieterVHeerden_0-1684991766707.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Body&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;Form Data&lt;/LI&gt;&lt;LI&gt;file = &amp;lt;== add your own base64 string&lt;/LI&gt;&lt;LI&gt;folderPAth = /&lt;/LI&gt;&lt;LI&gt;options&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;{"access":"PRIVATE","overwrite":false,"duplicateValidationStrategy":"NONE","duplicateValidationScope":"ENTIRE_PORTAL"&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Are you confident that your base64 string is a valid representation of the file you're trying to upload? Mis-formatted or corrupted base64 strings can cause issues when uploading files &amp;lt;== &lt;STRONG&gt;Yes if i take the same sting in C# then it uploads&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 05:18:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/798732#M64324</guid>
      <dc:creator>PieterVHeerden</dc:creator>
      <dc:date>2023-05-25T05:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine name from file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/802686#M64597</link>
      <description>&lt;P&gt;Any luck?&lt;/P&gt;&lt;P&gt;I am experiencing the same issue.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2023 12:31:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/802686#M64597</guid>
      <dc:creator>jeff00seattle</dc:creator>
      <dc:date>2023-06-04T12:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine name from file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/841360#M66916</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also having the same issue.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-08-28 at 14.33.15.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/97848iF1148AA7E8A7D12E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-08-28 at 14.33.15.png" alt="Screenshot 2023-08-28 at 14.33.15.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-08-28 at 14.33.55.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/97849iB2BF8EE72E1BB6B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-08-28 at 14.33.55.png" alt="Screenshot 2023-08-28 at 14.33.55.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;I am passing a Base64 encored file (this is the only part I am not fully sure of).&lt;BR /&gt;&lt;BR /&gt;But other than that, everything is according to the docs. I run plenty of API calls through Hubspot with the same authentication so I assume that's not the problem either.&lt;BR /&gt;&lt;BR /&gt;is there any way we can get help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 19:36:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/841360#M66916</guid>
      <dc:creator>AKemeklis</dc:creator>
      <dc:date>2023-08-28T19:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine name from file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/1235791#M86244</link>
      <description>&lt;P&gt;Any update on this? Experiencing the same problem&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2025 15:54:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/1235791#M86244</guid>
      <dc:creator>MWeber7</dc:creator>
      <dc:date>2025-12-19T15:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine name from file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/1235874#M86253</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1024729"&gt;@MWeber7&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you all for reaching out to the Community and sharing the details of your experience with the file upload endpoint — it definitely helps to see multiple users encountering the same behavior.&lt;/P&gt;
&lt;P&gt;I'd like to invite some of our community members who are subject matter experts to join this conversation: Hey &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63499"&gt;@SteveHTM&lt;/a&gt;&lt;/SPAN&gt; &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/537570"&gt;@RubenBurdin&lt;/a&gt;&lt;/SPAN&gt; &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/996002"&gt;@d-lupo&lt;/a&gt;&lt;/SPAN&gt; Happy Friday! Would you be able to share any insights on uploading Base64-encoded files via /files/v3/files and the “Could not determine name from file” error? Your expertise would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Victor&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2025 22:06:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/1235874#M86253</guid>
      <dc:creator>Victor_Becerra</dc:creator>
      <dc:date>2025-12-19T22:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Could not determine name from file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/1243017#M86586</link>
      <description>&lt;P&gt;Hi everyone, thanks to all of you for the details you’ve shared so far.&lt;/P&gt;&lt;P&gt;That Could not determine name from file error is coming from how the multipart body is built. When file is sent as a text field with a base64 string (instead of a real file upload), the part doesn’t have a filename, so /files/v3/files can’t infer one and returns this error. The fix is to send file as an actual file part with a filename (or decode your base64 to bytes and append it as the file field with something like my-document.pdf as the filename), and keep options and folderPath as separate form fields. You don’t need a separate fileName field; the API reads the filename from the file part itself.&lt;/P&gt;&lt;P&gt;You can see the expected multipart/form-data shape in our Files API docs here: &lt;A href="https://developers.hubspot.com/docs/api/files/files" target="_blank"&gt;https://developers.hubspot.com/docs/api/files/files&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;BR /&gt;Best, Victor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2026 15:12:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Could-not-determine-name-from-file/m-p/1243017#M86586</guid>
      <dc:creator>Victor_Becerra</dc:creator>
      <dc:date>2026-01-19T15:12:51Z</dc:date>
    </item>
  </channel>
</rss>

