Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Network error: request error at connector #130

Closed
odifek opened this issue Nov 26, 2018 · 4 comments
Closed

Network error: request error at connector #130

odifek opened this issue Nov 26, 2018 · 4 comments

Comments

@odifek
Copy link

odifek commented Nov 26, 2018

Please what is your take about this error? I've waded through all the errors. I am now hooked at this one.
This is my connector initialization

import {FirestoreClientConnector} from 'canner-graphql-interface';
exports.connector = new FirestoreClientConnector({
    projectId: "wccrmph-church-app"
  });
  

After deploying, cms spits out errors

POST https://backend.canner.io/connector 500 (Internal Server Error)

Please what do I need to do to fix this?

@abz53378
Copy link
Contributor

Hi, @odifek, FirebaseClientConnector only work for community version which means you build the CMS with our <Canner > component in a react project. (see the code of demo)

On our platform, we provide the file canner.cloud.js for developers to deploy the credential files, so you don't have to declare the connector in your schema, just create a canner.cloud.js like the docs here.

Thanks!

@odifek
Copy link
Author

odifek commented Nov 26, 2018 via email

@odifek
Copy link
Author

odifek commented Nov 26, 2018

So great, I removed the connector and everything works fine now except for storage. It's still says

There is no storage config so you can't upload image. Checkout the storage section to know more

@odifek
Copy link
Author

odifek commented Nov 26, 2018

I finally solved the above by inserting the imageStorage attribute in the root tag instead

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants