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 / 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 Moderator on at
    As a test, switch the designer to the classic interface and run the flow again
  • lbendlin Profile Picture
    8,701 Super User 2026 Season 1 on at
    yeap, A @DJ_Jamba mentioned. Known bug in the new designer. Switch to the old designer. 
  • ronaldwalcott Profile Picture
    3,866 Moderator 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,691 Super User 2026 Season 1 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 Moderator 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard