#community-help

Firebase Extension Error: No Support for Nested Collections

TLDR Daniel faced a Firebase extension error regarding nested collections. Kishore Nallan was unsure, but Daniel figured it out. Nevertheless, Jason confirmed the lack of support for nested collections.

Powered by Struct AI
+11
6
16mo
Solved
Join the chat
May 05, 2022 (16 months ago)
Daniel
Photo of md5-756d5da34cc5127c88730a39db749024
Daniel
10:54 AM
How about Firebase Extension, I'm getting error "Request failed with HTTP code 404 | Server said: Not Found"I used Admin API key to generate secret. Can the reason be that we have nested collection for typesense search like /search/menu/data
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
10:59 AM
I think you might not have created the collection on Typesense
Daniel
Photo of md5-756d5da34cc5127c88730a39db749024
Daniel
11:10 AM
The problem seem to be that collection cant be nested, as soon as I set collection to root the error is gone. Does it mean that we need to create in the root all collections that we want to index? Or just don't know how to set nested collections in the config
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
11:16 AM
Let me get back to you on that.
Daniel
Photo of md5-756d5da34cc5127c88730a39db749024
Daniel
11:19 AM
Don't bother I realised that we are not storing any data on Firestore 😅, Thanks for quick reply
+11
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
01:10 PM
Daniel Sub-collections are indeed not supported. Here's a work-around: https://typesense-community.slack.com/archives/C01P749MET0/p1649250059316429