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

Object reference not set to an instance of an object when connecting to Dynamics NAV

Hi all,

 

I'm trying to connect Flow to Dynamics NAV 2017, and to send an email each time a record is created in either the CustomerList Page or MyCustomers query.

 

I've successfully connected Flow to the Dynamics NAV 2017 OData service (I can tell because it can read the Queries, Pages and fields within both).

 

However, when I try to run the Flow, I get an error, saying 'Object reference not set to an instance of an object'.

 

The error message looks like the image attached below.

 

Does anyone have any ideas why this happens? There's no templates to copy from so I'm sure I might have done something incorrect - people appear to have had similar issues using Dynamics CRM but no clear fix for them.

 

Thanks!

 

Error 1.png

1 ACCEPTED SOLUTION

Accepted Solutions
SteveB
New Member

So...turns out I solved my own question, via another forum post.

 

https://powerusers.microsoft.com/t5/Flow-Forum/Dynamics-NAV-2016-connector-issues-Invalid-Mashup/m-p...

 

I used the OData rather than OData4 address and the Flow was successful, in case anyone else experiences the same thing.

 

View solution in original post

3 REPLIES 3
SteveB
New Member

So...turns out I solved my own question, via another forum post.

 

https://powerusers.microsoft.com/t5/Flow-Forum/Dynamics-NAV-2016-connector-issues-Invalid-Mashup/m-p...

 

I used the OData rather than OData4 address and the Flow was successful, in case anyone else experiences the same thing.

 

View solution in original post

Thanks for the update and sharing.

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ALopez27
New Member

Hi Steve,

 

We also have a need to send emails during certain record creations, it seems you were able to accomplish this, can you point me in the rigth direction on how to get started or some examples on how we can do this in NAV 2017?

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (59,149)