why is Firestore fail to load collections and gives errors? [closed]












0















I am using firebase cloud function to write on firestore.
when I try to add this hierarchy :



/Users/eg3LxyXQTxOsYCimyP1cf7YOYzm2/MyAds/1DZ2USCMs0ARQ3YfZb5l/


it is added perfectly on the database But what I want is this



/Users/{randomid}/MyAds/{randomId}/photos/{id}/


But it gives Error loading collections on firestore
error during loading collections
I really don't know what is the problem in my code because it works for the first hierarchy.



this is my code which when executed gives the error :



 return admin.firestore().collection('Users').doc(id).collection('MyAds').doc(mySubString).collection('photos')
.doc().set(
{imageUrl :xx},
{merge:true}
);


NOTE: when I try it manually , IT WORKS



Do someOne know why I am facing this error and How to solve it?










share|improve this question













closed as off-topic by Doug Stevenson, Billal Begueradj, Tomasz Mularczyk, Jay, Alex Mamo Jan 3 at 19:21


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions on professional server- or networking-related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. You may be able to get help on Server Fault." – Doug Stevenson, Billal Begueradj, Tomasz Mularczyk, Alex Mamo

If this question can be reworded to fit the rules in the help center, please edit the question.

















  • Sounds like a temporary problem with the console. If you're having a problem with the Firebase console, contact Firebase support directly. firebase.google.com/support/contact

    – Doug Stevenson
    Dec 31 '18 at 9:35











  • I faced this problem 2 dayes ago .Ok I contacted them right now and this is the answer :Hello there, Our autoresponder is broken, and we’re working on fixing it now. We’ve received your support case and will follow up soon. Thanks, Darwin Firebase Support

    – Amr Mahmoud
    Dec 31 '18 at 9:37











  • It's currently winter holiday season through much of Google. You might have to wait a few days.

    – Doug Stevenson
    Dec 31 '18 at 9:40











  • Where does {randomid} and mySubString come from? If those are nil, it will error as you described.

    – Jay
    Dec 31 '18 at 17:54











  • no it is just abbreviations for jhgkfuktthr and rsdujyfg random keys

    – Amr Mahmoud
    Dec 31 '18 at 20:09
















0















I am using firebase cloud function to write on firestore.
when I try to add this hierarchy :



/Users/eg3LxyXQTxOsYCimyP1cf7YOYzm2/MyAds/1DZ2USCMs0ARQ3YfZb5l/


it is added perfectly on the database But what I want is this



/Users/{randomid}/MyAds/{randomId}/photos/{id}/


But it gives Error loading collections on firestore
error during loading collections
I really don't know what is the problem in my code because it works for the first hierarchy.



this is my code which when executed gives the error :



 return admin.firestore().collection('Users').doc(id).collection('MyAds').doc(mySubString).collection('photos')
.doc().set(
{imageUrl :xx},
{merge:true}
);


NOTE: when I try it manually , IT WORKS



Do someOne know why I am facing this error and How to solve it?










share|improve this question













closed as off-topic by Doug Stevenson, Billal Begueradj, Tomasz Mularczyk, Jay, Alex Mamo Jan 3 at 19:21


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions on professional server- or networking-related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. You may be able to get help on Server Fault." – Doug Stevenson, Billal Begueradj, Tomasz Mularczyk, Alex Mamo

If this question can be reworded to fit the rules in the help center, please edit the question.

















  • Sounds like a temporary problem with the console. If you're having a problem with the Firebase console, contact Firebase support directly. firebase.google.com/support/contact

    – Doug Stevenson
    Dec 31 '18 at 9:35











  • I faced this problem 2 dayes ago .Ok I contacted them right now and this is the answer :Hello there, Our autoresponder is broken, and we’re working on fixing it now. We’ve received your support case and will follow up soon. Thanks, Darwin Firebase Support

    – Amr Mahmoud
    Dec 31 '18 at 9:37











  • It's currently winter holiday season through much of Google. You might have to wait a few days.

    – Doug Stevenson
    Dec 31 '18 at 9:40











  • Where does {randomid} and mySubString come from? If those are nil, it will error as you described.

    – Jay
    Dec 31 '18 at 17:54











  • no it is just abbreviations for jhgkfuktthr and rsdujyfg random keys

    – Amr Mahmoud
    Dec 31 '18 at 20:09














0












0








0


1






I am using firebase cloud function to write on firestore.
when I try to add this hierarchy :



/Users/eg3LxyXQTxOsYCimyP1cf7YOYzm2/MyAds/1DZ2USCMs0ARQ3YfZb5l/


it is added perfectly on the database But what I want is this



/Users/{randomid}/MyAds/{randomId}/photos/{id}/


But it gives Error loading collections on firestore
error during loading collections
I really don't know what is the problem in my code because it works for the first hierarchy.



this is my code which when executed gives the error :



 return admin.firestore().collection('Users').doc(id).collection('MyAds').doc(mySubString).collection('photos')
.doc().set(
{imageUrl :xx},
{merge:true}
);


NOTE: when I try it manually , IT WORKS



Do someOne know why I am facing this error and How to solve it?










share|improve this question














I am using firebase cloud function to write on firestore.
when I try to add this hierarchy :



/Users/eg3LxyXQTxOsYCimyP1cf7YOYzm2/MyAds/1DZ2USCMs0ARQ3YfZb5l/


it is added perfectly on the database But what I want is this



/Users/{randomid}/MyAds/{randomId}/photos/{id}/


But it gives Error loading collections on firestore
error during loading collections
I really don't know what is the problem in my code because it works for the first hierarchy.



this is my code which when executed gives the error :



 return admin.firestore().collection('Users').doc(id).collection('MyAds').doc(mySubString).collection('photos')
.doc().set(
{imageUrl :xx},
{merge:true}
);


NOTE: when I try it manually , IT WORKS



Do someOne know why I am facing this error and How to solve it?







firebase google-cloud-firestore






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 31 '18 at 9:25









Amr MahmoudAmr Mahmoud

409




409




closed as off-topic by Doug Stevenson, Billal Begueradj, Tomasz Mularczyk, Jay, Alex Mamo Jan 3 at 19:21


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions on professional server- or networking-related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. You may be able to get help on Server Fault." – Doug Stevenson, Billal Begueradj, Tomasz Mularczyk, Alex Mamo

If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by Doug Stevenson, Billal Begueradj, Tomasz Mularczyk, Jay, Alex Mamo Jan 3 at 19:21


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions on professional server- or networking-related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. You may be able to get help on Server Fault." – Doug Stevenson, Billal Begueradj, Tomasz Mularczyk, Alex Mamo

If this question can be reworded to fit the rules in the help center, please edit the question.













  • Sounds like a temporary problem with the console. If you're having a problem with the Firebase console, contact Firebase support directly. firebase.google.com/support/contact

    – Doug Stevenson
    Dec 31 '18 at 9:35











  • I faced this problem 2 dayes ago .Ok I contacted them right now and this is the answer :Hello there, Our autoresponder is broken, and we’re working on fixing it now. We’ve received your support case and will follow up soon. Thanks, Darwin Firebase Support

    – Amr Mahmoud
    Dec 31 '18 at 9:37











  • It's currently winter holiday season through much of Google. You might have to wait a few days.

    – Doug Stevenson
    Dec 31 '18 at 9:40











  • Where does {randomid} and mySubString come from? If those are nil, it will error as you described.

    – Jay
    Dec 31 '18 at 17:54











  • no it is just abbreviations for jhgkfuktthr and rsdujyfg random keys

    – Amr Mahmoud
    Dec 31 '18 at 20:09



















  • Sounds like a temporary problem with the console. If you're having a problem with the Firebase console, contact Firebase support directly. firebase.google.com/support/contact

    – Doug Stevenson
    Dec 31 '18 at 9:35











  • I faced this problem 2 dayes ago .Ok I contacted them right now and this is the answer :Hello there, Our autoresponder is broken, and we’re working on fixing it now. We’ve received your support case and will follow up soon. Thanks, Darwin Firebase Support

    – Amr Mahmoud
    Dec 31 '18 at 9:37











  • It's currently winter holiday season through much of Google. You might have to wait a few days.

    – Doug Stevenson
    Dec 31 '18 at 9:40











  • Where does {randomid} and mySubString come from? If those are nil, it will error as you described.

    – Jay
    Dec 31 '18 at 17:54











  • no it is just abbreviations for jhgkfuktthr and rsdujyfg random keys

    – Amr Mahmoud
    Dec 31 '18 at 20:09

















Sounds like a temporary problem with the console. If you're having a problem with the Firebase console, contact Firebase support directly. firebase.google.com/support/contact

– Doug Stevenson
Dec 31 '18 at 9:35





Sounds like a temporary problem with the console. If you're having a problem with the Firebase console, contact Firebase support directly. firebase.google.com/support/contact

– Doug Stevenson
Dec 31 '18 at 9:35













I faced this problem 2 dayes ago .Ok I contacted them right now and this is the answer :Hello there, Our autoresponder is broken, and we’re working on fixing it now. We’ve received your support case and will follow up soon. Thanks, Darwin Firebase Support

– Amr Mahmoud
Dec 31 '18 at 9:37





I faced this problem 2 dayes ago .Ok I contacted them right now and this is the answer :Hello there, Our autoresponder is broken, and we’re working on fixing it now. We’ve received your support case and will follow up soon. Thanks, Darwin Firebase Support

– Amr Mahmoud
Dec 31 '18 at 9:37













It's currently winter holiday season through much of Google. You might have to wait a few days.

– Doug Stevenson
Dec 31 '18 at 9:40





It's currently winter holiday season through much of Google. You might have to wait a few days.

– Doug Stevenson
Dec 31 '18 at 9:40













Where does {randomid} and mySubString come from? If those are nil, it will error as you described.

– Jay
Dec 31 '18 at 17:54





Where does {randomid} and mySubString come from? If those are nil, it will error as you described.

– Jay
Dec 31 '18 at 17:54













no it is just abbreviations for jhgkfuktthr and rsdujyfg random keys

– Amr Mahmoud
Dec 31 '18 at 20:09





no it is just abbreviations for jhgkfuktthr and rsdujyfg random keys

– Amr Mahmoud
Dec 31 '18 at 20:09












1 Answer
1






active

oldest

votes


















0














I have disabled my Ad Block and It is now showing all the data correctly .






share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I have disabled my Ad Block and It is now showing all the data correctly .






    share|improve this answer




























      0














      I have disabled my Ad Block and It is now showing all the data correctly .






      share|improve this answer


























        0












        0








        0







        I have disabled my Ad Block and It is now showing all the data correctly .






        share|improve this answer













        I have disabled my Ad Block and It is now showing all the data correctly .







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 1 at 10:05









        Amr MahmoudAmr Mahmoud

        409




        409















            Popular posts from this blog

            Monofisismo

            Angular Downloading a file using contenturl with Basic Authentication

            Olmecas