I cannot see an reason for this error message. Can you tell us why this is required?
I came across this while starting prototyping my project and is a bit annoying.
But this is just my opinion
There was an error with your Endpoint for this page. You need to return at least one component from the Endpoint.
OK I checked my code again and the error message was a bit confusing for me because the problem is:
I am having two endpoints this are in conflict.
/user - static page
/user/:ID - dynamic page with params
after changing the dynamic page to e.g. /object/user/:ID anything is working fine.
@adam
It would be great if i can use the endpoint /user/:ID (this should be possible as I am using the same structure in ASP.Net Core)
And maybe the error message should also be changed or maybe this is only confusing me
This is bad because as far as I can see out of my test an dynamic page requires -Endpoint as a page. Otherwise I am getting the following error (a better error message would be great if this is the case):
New-UDPage : Object reference not set to an instance of an object.
use enpoint path /user and /user/:id (I cannot test this with v3 because of the bug below, but this was the case in v2.9)
pages using -Endpoint instead of -Content doesnt work anymore - There was an error with your Endpoint for this page. You need to return at least one component from the Endpoint.
Error message that a dynamic page requires an -Endpoint instead of a -Content page (if this is the case but getting an error if changing to -Content) - New-UDPage : Object reference not set to an instance of an object.
Ok that would make sense … is it possible to get the “nightly build” right now in order to let me test anything and can get further … as I am currently stucked because of this problem?