cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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 blog

Power 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 blog

Power 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 blog

Power Automate Video Tutorials

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

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 blog

Power 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 blog

Power Automate Video Tutorials

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Top Kudoed Authors
Users online (13,184)