Where can I see the errors in the REST Server

I am running using the wizard for XData Web Application and REST Server.

When I post a new record on the client side. There are no errors displayed in the browser or the console.

However, the record did not get saved. Where can I see the error for that and how do I bring it back to the user.

If there are no errors in console, it's likely there were no errors, actually.
Another tab you can inspect is the network, to see all the requests to XData server and check if any of them failed with some error response.

Are you using TXdataWebDataset? Are you calling ApplyUpdates?

Yes

I was using the wizard for the XData Web Application as a starting point. The first form I was trying had many fields and the top of the form was offscreen.. The error was at the top of the form. And I hadnt realised it was there.

  1. If pressed Save again, the form just closed, implying that everything was fine. Which is why I was confused. I will add some code to disable the Save button on error.
  2. Also, I will make the error pop up or find a way to scroll the form up.
1 Like