cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SQ-Nicklas
Level: Power Up

Flow and Dynamics 365 custom entity

Hi team

 

I was doing some labs earlier where I created à custom entity in Microsoft Dynamics 365 (crm online 2016 trial). The entity name is vfz_test1 and I checked the "track changes" checkbox.

 

I then opened up Microsoft Flow, create a simple flow to listen to records created in my new custom entity and post a tweet on Twitter. I can see the flow is triggered but fails with a the following error

{

  "status": 502,

  "message": "Object reference not set to an instance of an object.",

  "source": "127.0.0.1"

}

 

 

Could anybody tell me why this is happening and if there are restrictions on using custom entites?

3 REPLIES 3
Super User
Super User

Re: Flow and Dynamics 365 custom entity

Hi @SQ-Nicklas,

 

Can you please post a screenshot 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!



SQ-Nicklas
Level: Power Up

Re: Flow and Dynamics 365 custom entity

Hi abm, here is a screenshot and the exception details below. Let me know if there is anything else you need.

 

flow.JPG

 

 

Exception message full

Header
{
"Cache-Control": "no-cache",
"Content-Length": "101",
"Content-Type": "application/json; charset=utf-8",
"Date": "Wed, 23 Nov 2016 07:53:58 GMT",
"Expires": "-1",
"Pragma": "no-cache",
"Server": "Microsoft-IIS/8.0,Microsoft-HTTPAPI/2.0",
"Set-Cookie": "ARRAffinity=222b2eccda3b49659d1dbc8fc5b464f83c67dfa4e110ac9af520c57f33db0d1d;Path=/;Domain=127.0.0.1",
"X-AspNet-Version": "4.0.30319",
"X-Powered-By": "ASP.NET",
"x-ms-datasourceerror": "True",
"x-ms-request-id": "b5a31ef4-0419-495b-9bb3-23a4d80f1eff"
}

Text
{
"message": "Object reference not set to an instance of an object.",
"source": "127.0.0.1",
"status": 502
}

 

Super User
Super User

Re: Flow and Dynamics 365 custom entity

Hi @SQ-Nicklas,

 

Thanks for your reply. I can't see anything you doing wrong here. Just to make sure your connections to Twitter is working?

 



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!



Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,047)