Skip to main content
Question

Microsoft Dynamics 365 CRM error: The app returned "URL was not parsed due to an ODataUnrecognizedPathException.

  • August 21, 2023
  • 7 replies
  • 1715 views

DMaz

Hello everybody,

I have a problem when I try to link the leads received on my website with Gravity Form on Microsoft Dynamics. Here is the error message that appears: 

“Failed to create a lead in Microsoft Dynamics 365 CRM

The app returned "URL was not parsed due to an ODataUnrecognizedPathException. Resource not found for the segment provided in the URL."

Someone have any solutions ?

Best Regards, 

David.  

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

7 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • August 21, 2023

Hi @DMaz 

Good question.

Please post screenshots with how your Zap step is configured to help give us more context, thanks.


DMaz
  • Author
  • Beginner
  • August 22, 2023

Hi @Troy Tessalone

 

Thanks for your reply.

 

Here are some screenshots about the configuration of my Zap: 

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • August 22, 2023

@DMaz 

One thing to check is the list of options for the Country field to make sure the mapped variable value is valid.

Each Country option has 2 values, with the smaller bottom value being the expected value to map.

 


wscbjp
  • New
  • August 22, 2023

It could be that Country field, but essentially its any field that is a lookup field that requires a GUID.  If you are passing in a string of text instead of the GUID then you will have this error.  The two fields like this, commonly on leads are State/Province or Country/Region  the second instance of each field if you can’t dynamically pass the correct GUID  then leave it blank. Or if its find statically setting that field choose one of the GUIDs  from the drop down. 


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • September 5, 2023

Hi there, @DMaz! 👋

I just wanted to check in to see how you were getting on with this. Were you able to get rid of that error by entering a GUID value for the country instead of it’s name? 

Let us know if you’re still in need of some help with this at all! 


  • New
  • June 13, 2024

Hi @DMaz & @SamB.

I have the same issue, and have resolved the error described above by not inserting data, but selecting it in the country dropdown. Country is defined as lookup in our system.

 

This does not work and causes the "URL was not parsed due to an ODataUnrecognizedPathException. Resource not found for the segment provided in the URL." error

Instead I used the dropdown and the Country tab:

When I select the country from the list, I can deliver my lead.

This worked well, and country looks good in Dynamics, but how do I match the Country in the list with my data? I think we both have the same issue here. I dont know if it was resolved but I am curious.
 

Thanks :)
Bjarke
 


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • June 14, 2024

Hi @bjarke,

You can use a lookup table to match the country name and the country ID. You can learn more about the lookup table here: 

Hopefully, this helps!