cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kthernandez
Regular Visitor

Error when uploading a lead into CRM Dynamics 365 using Common Data Service

Current Flow goal is to take an email that comes into my website and convert that into a lead in CRM.  The Flow works correctly until it comes to the creation of the lead.  It seems to be one field titled "Lead Source" that is creating the error.  The field is required when someone is putting the Lead in manually and contains a drop down where the user selects from a list of values.  The value I place in that field is one of those values from the list but an error is still created.  The example text that I place is this field is Website and the error I receive is:        ')' or ',' expected at position 5 in '(Website)'.  Whenever I add the characters mentioned to create:    '(Website)'    I received a "Bad Request - Error in query syntax." error.  I'm not exactly sure what the issue is or if I'm even going about this correctly.  Any help would be greatly appreciated. 

10 REPLIES 10
abm
Super User III
Super User III

Hi @kthernandez 

 

Could you please post a screen shot of your flow?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

kthernandez_0-1597268964844.png

 

kthernandez_1-1597269003902.png

 

 

 

Hi @kthernandez 

 

Thanks for your immediate reply.

 

Could you please show me the mappings of the lead source under the create record step?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Yeah no problem, Here ya go!

 

kthernandez_0-1597270984960.png

 

Hi @kthernandez 

 

Below is the out of the box lead source lists. Looks like you have a custom one which is called ABS Group. Is this exists in your drop down lists?

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Yes that currently exists. It was created by our CRM Admin. 

abm
Super User III
Super User III

Hi @kthernandez 

 

Where you mapping the (website) here which you mentioned earlier?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Yes correct but in the screen shots it's ABS Group

Hey @abm any idea on a potential solution?

Hi @kthernandez 

 

I could help you via screen share. I need to look into the mapping and more understanding of the CDS data you have.

 

Let me know.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,128)