cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Problem creating new CDS Record in Flow

Hey,

 

I'm really stuck trying to use the Create New Record - Common Data Service action in flow. 

 

I've used it a couple of other times for other flows and all seems fine, so I'm not sure what I'm missing this time. 

 

What I'm trying to do is really simple, when a record gets created for Entity A, I want to create a record in Entity B. 

 

It's getting triggered fine, but I'm getting a fail 'bad request' on the create step. 

 

{
  "status"400,
  "message""Object reference not set to an instance of an object.",
  "error": {
    "message""Object reference not set to an instance of an object."
  },
  "source""xxxxxx.crm11.dynamics.com",
  "errors": [],
  "debugInfo""clientRequestId: b909b1d9-5091-4a87-9d9a-23e0a8d3b085"
}
 
In the body, there is a blank input for 'ownerid_type' - which I feel might be important in some way, I'm just not sure how 🙂
 
{
  "name""Test",
  "_ownerid_type"""
}
 
Many thanks for your help
Pete 
1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

@pridDubDub
This sounds like a Power Automate question rather than a PowerApps question. Suggest you post it in the Power Automate forums instead where you will receive a better/quicker response.

https://powerusers.microsoft.com/t5/General-Power-Automate/bd-p/MPAForum

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

View solution in original post

2 REPLIES 2
Super User III
Super User III

@pridDubDub
This sounds like a Power Automate question rather than a PowerApps question. Suggest you post it in the Power Automate forums instead where you will receive a better/quicker response.

https://powerusers.microsoft.com/t5/General-Power-Automate/bd-p/MPAForum

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

View solution in original post

Thanks 😀

 

I've done as suggested.

Pete 

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (7,150)