web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error: This Operation ...
Power Automate
Unanswered

Error: This Operation Couldn't be completed. File name too long.

(0) ShareShare
ReportReport
Posted on by 5

Screenshot 2024-06-21 at 9.29.35 PM.png

 

Hello, I am using a simple flow to populate SharePoint file links (files attached from a Microsoft Form) into Asana. However, when the SharePoint link populates, it won't let me open it because it adds too many characters to the end of the link. I get a download error that says, "This Operation Couldn't be completed. File name too long."

 

This happens with files such as .png, .jpg and .mp4. And it is not just Asana. I have also tried populating these links into my email, and the links don't shorten in length.

 

I would greatly appreciate any assistance you can provide in resolving this issue. Thank you in advance!

 

Categories:
  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @user_3489,

     

    Can you share how you have configured the Create Task (v2) action.

     

    Normally an attachment question in Forms not only returns the link, but also the id name and other information of the file. This might explain the amount of characters if you used the direct answer in your setup.

     

    Or did you use an expression to extract the link part? If so, can you share that expression? 

  • user_3489 Profile Picture
    5 on at

    Hi @Expiscornovus

     

    Your first point describes what seems to be my problem. The link is returned with the ID name along with other information about the file. Is there any way I can knock this off so I can open the link after it is sent?

     

    Attached is how I have it configured right now.

     

     

    Thank you!

    automate-v2.png

  • user_3489 Profile Picture
    5 on at

    Hi @Expiscornovus, I wanted to follow up and ask if you have any solutions for this error. Thank you!

  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @user_3489,

     

    You can use an expression to only retrieve the id part of that answer.


    Below is an example

    (I am assuming in this example your MS Forms question allows the uploading of multiple attachments)

    json(outputs('Get_response_details')?['body/re63869bd6ae04a5683cde0c7419c6578'])[0]['Id']

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard