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 / Help with Update Task ...
Power Automate
Unanswered

Help with Update Task with Sharepoint Path/File link

(0) ShareShare
ReportReport
Posted on by 83

Trying to get an Update Task connection to work and running into this error:

 

OpenApiOperationParameterTypeConversionFailed. The 'inputs.parameters' of workflow operation 'Update_task_details' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'body/references/0/resourceLink' is required to be of type 'String/uri'. The runtime value '"%252fShared%2bDocuments%252fPlannerDocs%252fWindows%2bOS%2b_%2bService%2bPack%2bReport.xls"' to be converted doesn't have the expected format 'String/uri'.

 

I'm not able to figure out why as the resources is found and displayed but the flow stops cold at this last step and the whole flow fails.

ktownshend_0-1680117512563.png

 

ktownshend_1-1680117549919.png

 

Any help or things to try would be appreciated.

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at

    Hi @ktownshend,

     

    That field requires you to enter an absolute link which starts with http:// or https://. You are using a value which is a relative url.

     

    You could for example use the link to item field (aka {Link}) from the Get File properties action and use that field instead of the Path field you are currently using.

     

    1. You can see in the suggestion text of the field what type of value the field expects

     

    validurl.png

     

    2. Below is an example with the Link to item field.

     

    linktoitem_link.png

  • ktownshend Profile Picture
    83 on at

    @Expiscornovus 

     

    Thank you so much for this information.

     

    I was missing a step to get the sharing link.

     

    Now that I have that, the flow is working as expected and getting the task created and updated with the file but it's doing so with multiple entries.

     

    Is it because I have it all in one apply to each?

    ktownshend_0-1680183572447.png

     

  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at

    Hi @ktownshend,

     

    Yes, that is correct.

     

    With the current setup shown in the screenshot you are you are creating a new task and updating the task details for each attachment in the apply to each loop.

  • ktownshend Profile Picture
    83 on at

    Hi Expiscornovus,

     

    That's what I thought.

     

    The problem I have is that if they are not all in the same apply to each I'm not able to connect the steps. I get a message that the step needs pieces from the apply so I can't move them out to make them a stand alone piece.

     

    Do you have any suggestions as to how I can make this work?

     

    I greatly appreciate the help. Very new to power automate and learning on the fly here.

     

    Regards,

     

    Kendra

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard