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 / CSV Header contains qu...
Power Automate
Answered

CSV Header contains quotation marks and line breaks

(2) ShareShare
ReportReport
Posted on by 17
Hello,
I need your help to understand why the header of my CSV file is broken.
It contains quotation marks and line breaks, which makes it unreadable.
This isn't the first time I've used this function in Power Automate, but it's the first time I've gotten a result like this.
Below is the step in question and the result it produces.
 
 
Thank you for your help,
Loris
Categories:
I have the same question (0)
  • Verified answer
    DJ_Jamba Profile Picture
    2,837 Super User 2025 Season 2 on at
    As a test, switch the designer to the classic interface and run the flow again
  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at
    yeap, A @DJ_Jamba mentioned. Known bug in the new designer. Switch to the old designer. 
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
     Does this happen in all locales?
  • Loris_Chab Profile Picture
    17 on at
    Hi, 
     
    @lbendlin @DJ_Jamba Thanks for the suggestion, tried it but same result with the classic designer :/ 
     
    @ronaldwalcott Haven't test it yet in an other locales, i'll try it, thank you.
  • Verified answer
    Chriddle Profile Picture
    8,443 Super User 2025 Season 2 on at
    This happen because you input data already contains line breaks:
     
    Remove them before creating the CSV.
  • Loris_Chab Profile Picture
    17 on at
    Hi @Chriddle, 
     
    Thanks for your feedback, but no, they don't. What you're highlighting here is the header of my columns, which I manually define in the step. They don’t contain any spaces or line breaks.
    So yes, it’s strange that Power Automate’s code view detects some — I don’t see how I could remove them.
  • Suggested answer
    Loris_Chab Profile Picture
    17 on at
    My bad, you were all right.
    Thanks to the classic designer, I managed to remove the line breaks it had added automatically, even though it wasn’t showing them
     
    Thanks you all 
  • DJ_Jamba Profile Picture
    2,837 Super User 2025 Season 2 on at
    @Loris_Chab

    Would you mind marking my answer as verified?
     
    Thanks

    d(-_-)b

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard