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 / CDS create record -> I...
Power Automate
Answered

CDS create record -> Invalid URI: The Uri string is too long

(0) ShareShare
ReportReport
Posted on by 945

Hi,

 

I on learning phase of Flow, and currently trying to use Flow to insert record through CDS from Excel file. So I'm choosing "When a file created in OneDrive" feature and connect it to my CE environment and choose "Create new record"

 

After fill in the necessary input and some dynamics field "File Content" (please correct me if I'm wrong, but I should use this in order to get whatever data in my Excel, right ? )

 

So I try to test it, but it return error : 

"message": "BadGateway",
"innerError": {
"status": 502,
"message": "Invalid URI: The Uri string is too long.",
"source": [this is my company url]
 
What is that all about ? Can use some advice here.
 
Thanks in advance.
Axal
Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @Axal,

     

    Firstly, you should confirm the environment you are creating you have enough right to create records, then you should confirm the dynamic content are valid.

     

    And if the error code 500 or 502 appears, the failure is temporary or transient. Please click or tap Resubmit to try the flow again to see if the issue still exists.

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Axal Profile Picture
    945 on at

    Hi,

     

    Yes, I have the rights to create new record. Anyway I changed the method.

    I created a new topic for that https://powerusers.microsoft.com/t5/General-Power-Automate/Can-this-flow-works/m-p/398448/highlight/true#M33851 

     

    Thanks

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard