Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
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."

(0) ShareShare
ReportReport
Posted on 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

 

  • KN-28051416-0 Profile Picture
    26 on at
    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,085 Super User 2025 Season 1 on at
    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 at
    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,085 Super User 2025 Season 1 on at
    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 at
    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,085 Super User 2025 Season 1 on at
    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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1