web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : M3ACRrXNombdmjyq1MStIS
Power Automate - Building Flows
Answered

When a record is added in a table (referral), a record needs to be created in another table (intake). Referral id lookup column in the intake table throws this error : "URL was not parsed due to an ODataUnrecognizedPathException. Resource not found for the segment provided in the URL."

Like (0) ShareShare
ReportReport
Posted on 1 May 2024 15:41:03 by 26

A referral can have multiple intakes. In the flow below ("add a new row" stage), how do i add the referral id (primary key in referral table) in the lookup field (Referral Lookup) of the intake table. Other columns including referral table columns, other lookups (clientid from client table) work by using plural_logical_name(col_name) but the referral id does not work!
P.S: I did try creating a non-lookup column in the intake table and assigned the referral_id from the referral table to it and that works.
Thanks.

keerthana_n_1-1714577550744.png

Referral table logical name: cr7de_hf_referral

keerthana_n_0-1714577520880.png

 

I have the same question (0)
  • KN-28051416-0 Profile Picture
    26 on 01 May 2024 at 18:57:35
    Re: When a record is added in a table (referral), a record needs to be created in another table (intake). Referral id lookup column in the intake table throws this error : "URL was not parsed due to an ODataUnrecognizedPathException. Resource not found for the segment provided in the URL."

    Awesome. It worked. Thanks!
    I made a mistake by creating a lookup to referralid and not to the guid. I created that relationship and tried what you suggested at the end and it worked.

  • Verified answer
    ManishSolanki Profile Picture
    15,089 Super User 2025 Season 2 on 01 May 2024 at 16:28:59
    Re: When a record is added in a table (referral), a record needs to be created in another table (intake). Referral id lookup column in the intake table throws this error : "URL was not parsed due to an ODataUnrecognizedPathException. Resource not found for the segment provided in the URL."

    Hi @keerthana_n 

     

    From dynamic content, you need to pass unique identifier (guid) of the record which looks similar to table display name.

     

    In your case, you will see  guid value as 'Referral' in dynamic content window. Pass that property instead of 'Referral Id'.

    cr7de_hf_referrals(<dynamic unique row identifier from trigger which looks same as table name>)

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

     

     

  • KN-28051416-0 Profile Picture
    26 on 01 May 2024 at 16:20:43
    Re: When a record is added in a table (referral), a record needs to be created in another table (intake). Referral id lookup column in the intake table throws this error : "URL was not parsed due to an ODataUnrecognizedPathException. Resource not found for the segment provided in the URL."

    I tried that. It gives me this error: Bad Request - Error in query syntax.


    keerthana_n_0-1714580636718.png

    It worked for other lookup columns and Program column gets the value from the referral table.

    keerthana_n_1-1714580689993.png

    I'm wondering if it is because referralid lookup is the primary column of referral table where as program is a lookup in the referral table.

  • ManishSolanki Profile Picture
    15,089 Super User 2025 Season 2 on 01 May 2024 at 16:17:07
    Re: When a record is added in a table (referral), a record needs to be created in another table (intake). Referral id lookup column in the intake table throws this error : "URL was not parsed due to an ODataUnrecognizedPathException. Resource not found for the segment provided in the URL."

    Hi @keerthana_n 

     

    Pls try this for lookup column:

    cr7de_hf_referrals(<dynamic unique row identifier from trigger>)

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • KN-28051416-0 Profile Picture
    26 on 01 May 2024 at 16:12:16
    Re: When a record is added in a table (referral), a record needs to be created in another table (intake). Referral id lookup column in the intake table throws this error : "URL was not parsed due to an ODataUnrecognizedPathException. Resource not found for the segment provided in the URL."

    Thanks for your reply. My intake table does create a record but only the lookup column from the previous step(Referral table) does not get updated.

  • ManishSolanki Profile Picture
    15,089 Super User 2025 Season 2 on 01 May 2024 at 16:08:38
    Re: When a record is added in a table (referral), a record needs to be created in another table (intake). Referral id lookup column in the intake table throws this error : "URL was not parsed due to an ODataUnrecognizedPathException. Resource not found for the segment provided in the URL."

    Hi @keerthana_n 

     

    Pls refer my solution in another post for the same issue:

    Flow won't create row in Dataverse, and no error r... - Power Platform Community (microsoft.com)

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 954 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 650 Moderator

#3
trice602 Profile Picture

trice602 327 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading complete