# No valid fields exist in the received table schema (MongoDB)

**URL:** <https://community.dreamfactory.com/t/no-valid-fields-exist-in-the-received-table-schema-mongodb/2902>\
**Category:** Connecting to NoSQL\
**Created:** [June 28, 2016, 10:31pm UTC](https://community.dreamfactory.com/t/no-valid-fields-exist-in-the-received-table-schema-mongodb/2902 "2016-06-28T22:31:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![hedisam](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@hedisam](https://community.dreamfactory.com/u/hedisam)\
**Post date:** [June 28, 2016, 10:31pm UTC](https://community.dreamfactory.com/t/no-valid-fields-exist-in-the-received-table-schema-mongodb/2902/1 "2016-06-28T22:31:28Z")

</div>

Hi,

I can not create new MongoDB tables.

the error is; "No valid fields exist in the received table schema."  
error code: 500

It’s strange, It’s NoSQL.

---

<div class="post-metadata">

**Author:** ![hedisam](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@hedisam](https://community.dreamfactory.com/u/hedisam)\
**Post date:** [June 29, 2016, 11:38am UTC](https://community.dreamfactory.com/t/no-valid-fields-exist-in-the-received-table-schema-mongodb/2902/2 "2016-06-29T11:38:07Z")

</div>

No reply… this is just how this community works. Not just for this topic but almost for all of my topics.

---

<div class="post-metadata">

**Author:** ![DFCommunityManager](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/dfcommunitymanager/32/887_2.png) [@DFCommunityManager](https://community.dreamfactory.com/u/DFCommunityManager)\
**Post date:** [June 29, 2016, 7:29pm UTC](https://community.dreamfactory.com/t/no-valid-fields-exist-in-the-received-table-schema-mongodb/2902/3 "2016-06-29T19:29:25Z")

</div>

> [@hedisam](#):
>
> No reply… this is just how this community works. Not just for this topic but almost for all of my topics.

Hey @hedisam thanks for bringing this to our attention.

We like to give the community an opportunity to respond, while we are also looking into it on our end in the meantime. One thing to keep in mind, if you need a more timely reply from the DreamFactory support folks, for example within 4 business hours - 1 day, you may consider [signing up for paid support.](https://www.dreamfactory.com/products)

We also encourage bugs to be reported [directly on our GitHub.](https://github.com/dreamfactorysoftware/dreamfactory/issues)

This forum is mostly run and maintained by volunteer community members for the purpose of interaction, learning and support.

Thank you for being a part of our community!  
@AlexBowen

---

<div class="post-metadata">

**Author:** ![DFCommunityManager](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/dfcommunitymanager/32/887_2.png) [@DFCommunityManager](https://community.dreamfactory.com/u/DFCommunityManager)\
**Post date:** [June 29, 2016, 7:33pm UTC](https://community.dreamfactory.com/t/no-valid-fields-exist-in-the-received-table-schema-mongodb/2902/4 "2016-06-29T19:33:13Z")

</div>

> [@hedisam](#):
>
> the error is; "No valid fields exist in the received table schema."error code: 500

Typically, this message means that there is an error with the JSON. So if you open up the JSON in a JSON editor, it will help you debug the issue immediately.

I suggest using JSON lint to validate the JSON. Let me know if that works! 🙂

FYI: We also have a bug filed that requires fields when creating NoSQL table, even though they are not used. I don’t suspect that is it, but it will be fixed in the forthcoming release.

Thanks,  
@AlexBowen

---

<div class="post-metadata">

**Author:** ![hedisam](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@hedisam](https://community.dreamfactory.com/u/hedisam)\
**Post date:** [July 3, 2016, 9:54pm UTC](https://community.dreamfactory.com/t/no-valid-fields-exist-in-the-received-table-schema-mongodb/2902/5 "2016-07-03T21:54:22Z")

</div>

@AlexBowen Oh, I didn’t expect such a fast replying… thanks for that.

Well, my json was so simple that there was no need for validation.

> {  
> “resource” : { “name”: “inbox” }  
> }

It’s simple enough, isn’t it? As you mentioned it should be a bug.

---

<div class="post-metadata">

**Author:** ![DFCommunityManager](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/dfcommunitymanager/32/887_2.png) [@DFCommunityManager](https://community.dreamfactory.com/u/DFCommunityManager)\
**Post date:** [July 5, 2016, 2:16pm UTC](https://community.dreamfactory.com/t/no-valid-fields-exist-in-the-received-table-schema-mongodb/2902/6 "2016-07-05T14:16:18Z")

</div>

If it is indeed affected by the bug, it should be fixed in our upcoming release.

Thanks for your patience,  
@AlexBowen

---

<div class="post-metadata">

**Author:** ![Vesa\_Takala](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@Vesa\_Takala](https://community.dreamfactory.com/u/Vesa_Takala)\
**Post date:** [July 12, 2016, 10:52am UTC](https://community.dreamfactory.com/t/no-valid-fields-exist-in-the-received-table-schema-mongodb/2902/7 "2016-07-12T10:52:08Z")

</div>

Do you know timetable this bug fix?  
Vesa

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [July 15, 2016, 5:23pm UTC](https://community.dreamfactory.com/t/no-valid-fields-exist-in-the-received-table-schema-mongodb/2902/8 "2016-07-15T17:23:33Z")

</div>

This bug results from DreamFactory schema editor requiring at least one field to be given in the request, even though MongoDB doesn’t have defined fields.

Until the bug is resolved, you can work around this by doing something like this  
POST MongoDBServiceName/\_schema

```
{
	"resource": [{
		"name": "SomeCollectionName",
		"field": [{
			"name": "dummyfield",
			"type": "id"
		}]
	}]
}

```

The dummyfield will not actually be created, but it’s necessary to get past the schema validation check.

This bug is being resolved in the current sprint (which started this week.) Sprints are typically 6 weeks long, so look for this fix ~ August 19
