Normally this error is received when you try to use a data view direct from navigation. A data view needs a record to display and you have not passed one to the form. Instead of opening the data view directly, use a microflow action as the target of your navigation item that first retrieves the record to display, then use a show form action to open the data view and pass the retrieved record in the open form action.
Stumbled upon the same problem, tried a lot of things to fix it but only made it worse! Thanks for the answer, check out my microflow. Problem solved, on to the next one!
<button type="submit" onclick="voeruit();">klik maar hier hoor ;)</button>
<style> .mijnH1 { font-size: 50pt; } </style>
<script> function voeruit() { alert('hallo mede-mendicks gebruikers!'); } </script><button type="submit" onclick="voeruit();">klik maar hier hoor ;)</button>
<style> .mijnH1 { font-size: 50pt; } </style>
<script> function voeruit() { alert('hallo mede-mendicks gebruikers!'); } </script><html> <head >="" <title="">Hoi!</title> </head> <body>
</body> </html>