Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Creating SharePoint List URL Item - Fails if URL (Share link) isn't correct

(0) ShareShare
ReportReport
Posted on by
This one is strange to me.  I'm creating a SharePoint List Item URL Field from workflow.  The value is a Share Link URL from a user.  The users oftentimes create the share link incorrectly so the URL wouldn't work if I tried to use it. 
 
It seems somewhere in the process of writing the link to the list, something tries to validate whether it's valid.  It LOOKS like a perfectly good URL except that it wouldn't work for me if I clicked it due to being created incorrectly. 

The actual error is: Invalid URL value.  A URL Field contains invalid data.  Please check........
 
I mean syntactically the URL is fine.
 
So what is validating that it's a valid Share URL?  SharePoint or Power Automate.  I just want to turn off the error checking on it and write whatever the URL is into the field.
  • David_MA Profile Picture
    David_MA 8,884 on at
    Creating SharePoint List URL Item - Fails if URL (Share link) isn't correct
    I would check the following at a minimum:
    • URL Format: Ensure that the URL is properly formatted. It should start with http:// or https://. Invalid formats or missing protocols can cause the update to fail.
    • Length: SharePoint has a maximum URL length limit. If the URL exceeds this limit, it may cause an error. Typically, the maximum length for a URL in SharePoint is 255 characters.
    • Special Characters: Check for and properly encode any special characters in the URL. Characters like spaces, ampersands, and others should be URL-encoded to avoid issues.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard