# HttpApi error: Generated RODL doesn't pass validation

**URL:** https://talk.remobjects.com/t/httpapi-error-generated-rodl-doesnt-pass-validation/23444
**Category:** Remoting SDK
**Tags:** net
**Created:** [November 4, 2020, 8:06pm UTC](https://talk.remobjects.com/t/httpapi-error-generated-rodl-doesnt-pass-validation/23444 "2020-11-04T20:06:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![infokevercom](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/i/779978/32.png) [@infokevercom](https://talk.remobjects.com/u/infokevercom)
#### Post date: [November 4, 2020, 8:06pm UTC](https://talk.remobjects.com/t/httpapi-error-generated-rodl-doesnt-pass-validation/23444/1 "2020-11-04T20:06:18Z")

</div>

When running this ROServer with HttpApi support the server fails to start with message:

Generated RODL doesn’t pass validation. Check Details property for detailed errors list  
The details show: Element DataType is not valid: Project.Result

All objects used inherit from ComplexType. Can you explain what is causing this error?  
[ROServer1.zip](https://talk.remobjects.com/uploads/short-url/eovOW8lL5S8EwqVpPTXOvMKSmLa.zip) (157.4 KB)

Thanks, Kees

---

<div class="post-metadata">

### Author: ![antonk](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/a5b964/32.png) [@antonk](https://talk.remobjects.com/u/antonk)
#### Post date: [November 4, 2020, 8:57pm UTC](https://talk.remobjects.com/t/httpapi-error-generated-rodl-doesnt-pass-validation/23444/2 "2020-11-04T20:57:44Z")

</div>

Hello

The error means that the result type definition is not present in the server metainformation RODL (this happens even before the HttpAPI dispatcher is initialized).

This happens because Remoting SDK considers the `Project` complex type as one defined in the RODL. It assumes that there is a corresponding `RODL` file for the `_Intf`-defined classes so there is no need to generate RODL definitions for them again. Unfortunately there is no RODL file containing this definition in the project so the server app is unable to start.

What you need to do to resolve this issue:

1. Add the RODL file back to your project
2. Right-click it and select the `Convert to Code-First server` command
3. Remove the `ADatoServiceLibrary_ServerAccess.cs` file

After that Remoting SDK will be able to properly handle the complex type definitions and your server will start.

Regards

---

<div class="post-metadata">

### Author: ![infokevercom](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/i/779978/32.png) [@infokevercom](https://talk.remobjects.com/u/infokevercom)
#### Post date: [November 5, 2020, 1:59pm UTC](https://talk.remobjects.com/t/httpapi-error-generated-rodl-doesnt-pass-validation/23444/3 "2020-11-05T13:59:36Z")

</div>

Hello, this part is working now
