Issue with Exporting Attachments

  • 71Views
  • Last Post 14 July 2017
0
votes
Krishna Chimakurthy posted this 13 July 2017

Hi we are facing an issue when exporting attachments like below can you suggest how can we avoid this error

 

Attachment (The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.)  

 

0
votes
Mariia Zaharova posted this 14 July 2017

Most likely, the name length of some files (attachments) in your Salesforce is more than 255 characters. Thus, we recommend you to check this. For example, via Skyvia Query Tool:

SELECT t.Id, t.Name

  FROM Attachment AS t

  where LENGTH(t.Name) >=255

 

In fact, Salesforce UI doesn't allow to give Name for the attachments with more that 255 characters.

Close