# Error: FindRow Specified Incorrect Type for DataTable \[Resolved\]

**URL:** <https://forums.unrealengine.com/t/error-findrow-specified-incorrect-type-for-datatable-resolved/440121>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [December 26, 2018, 3:19am UTC](https://forums.unrealengine.com/t/error-findrow-specified-incorrect-type-for-datatable-resolved/440121 "2018-12-26T03:19:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spidermined](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spidermined](https://forums.unrealengine.com/u/Spidermined)\
**Post date:** [December 26, 2018, 3:19am UTC](https://forums.unrealengine.com/t/error-findrow-specified-incorrect-type-for-datatable-resolved/440121/1 "2018-12-26T03:19:51Z")

</div>

When I attempted to use the FindRow function I got the following error message:

> LogDataTable:Error: UDataTable::FindRow : ‘’ specified incorrect type for DataTable ‘/Game/Data/MyDataTable.MyDataTable’

Note, the reason the single quotes are empty is because I used an empty string as the ContextString in the FindRow function.

I think this is an issue with modifying structs and them being hotreloaded because after I deleted the data table and re-created it, the error did not occur. Before I did that, though, I did attempt to close out of the editor and restart it to see if that would work because it does remove the HOTRELOADED struct names, but it did not resolve this error.

I also found this issue reported here:  
[https://www.reddit.com/r/unrealengine/comments/61huwa/specified\_incorrect\_type\_for\_datatable/](https://www.reddit.com/r/unrealengine/comments/61huwa/specified_incorrect_type_for_datatable/)

---

<div class="post-metadata">

**Author:** ![Spidermined](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spidermined](https://forums.unrealengine.com/u/Spidermined)\
**Post date:** [December 26, 2018, 3:21am UTC](https://forums.unrealengine.com/t/error-findrow-specified-incorrect-type-for-datatable-resolved/440121/2 "2018-12-26T03:21:56Z")

</div>

I deleted the data table and re-created it.

---

<div class="post-metadata">

**Author:** ![andrew-r-lukasik](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/andrew-r-lukasik/32/780005_2.png) [@andrew-r-lukasik](https://forums.unrealengine.com/u/andrew-r-lukasik)\
**Post date:** [September 30, 2021, 2:03pm UTC](https://forums.unrealengine.com/t/error-findrow-specified-incorrect-type-for-datatable-resolved/440121/3 "2021-09-30T14:03:18Z")

</div>

This works but it would be better to have a non-destructive solution.

If you open the table asset I noticed that “Row Type” (upper-right corner) is differently named and contains “hot\*\*reload” words that points to possible cause. Manual file edit to change that header should do the job too.
