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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Copy attachment from E...
Power Automate
Unanswered

Copy attachment from Email to shared folder - The character '"' is not allowed in file paths

(0) ShareShare
ReportReport
Posted on by 71

Hi All,

 

Have written an simple flow to copy an attachment from an inbound Email to a folder share (via on-prem gateway).  When I test the flow I'm getting the error:  The character '"' is not allowed in file paths, remove or replace it before retrying.
clientRequestId: 70e5c747-bbd5-405b-ad48-ad816ff34447

 

The path doesn't have " character within it.  Checked and double checked!  It does have a hyphen but that should be ok right?

 

DavyNix_0-1638809913603.png

If I change the path to have a final slash (\\XX1-FileServer\Office-ABC\FTP\FTP) then the flow doesn't return the error, but just times out with: Internal Server Error

DavyNix_2-1638810215902.png

What am I doing wrong?! 

Thanks in advance for any help...

Categories:
I have the same question (0)
  • Verified answer
    miguelcas Profile Picture
    Microsoft Employee on at

    Hi @DavyNix 

     

    I'm going to help you with your issue. First, I saw in your screenshot that your trigger it's not including the attachments. Second, we need to use the Create File action to create a new File in your folder because the email is arriving with a new file. Please Take a look to the following flow as an example.

     

    miguelcas_0-1638820388191.png

     

    miguelcas_2-1638820441921.png

     

    Let me know if this works for you.

     

    Thank you for using Microsoft Power Platform Communities.
    Community Support Team - Miguel Castro.
    If this Post helps, then please consider Accept as solution to help the other members find it more quickly.

     

     

  • DavyNix Profile Picture
    71 on at

    Hi @miguelcas , thanks for the reply. I'm getting the error below.  It seems to be adding a / to the path.

    and then displaying the error:  The requested action could not be completed. Check your request parameters to make sure the path 'C:\OnPremGateway\SB/new 2.txt' exists on your file system.
    clientRequestId: 05f76566-a403-4a6b-9081-f0ee6d3b1f71

    DavyNix_0-1638891479305.png

    The attachment name is correct so I feel we're getting closer!

  • DavyNix Profile Picture
    71 on at

    @miguelcas  Ignore me  - this second issue was caused by me not entering the user name correctly! User name must be Domain/username and not just UserName !!  Thanks for your help 🙂

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard