question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

firebase2graphql : error on presence of json objects

See original GitHub issue

I’ve been giving a try to your firebase2graphql tool. I’ve created the heroku app successfully and exporting the firebase json as well. However, when trying to import that json into the graphQL DB, I get an error :

npx firebase2graphql https://<myApp>.herokuapp.com --db=/home/francis/<myJson>.json --normalize

I get :

Verifying URL... Done!
Processing Firebase JSON... Error!
Message: invalid data type given for column equipements: object

For information, my firebase RTDB look like this :

image

It this a bug or am I doing something wrong ? Thanks

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
wawhalcommented, Mar 28, 2019

Looking into it people.

1reaction
wawhalcommented, Apr 10, 2019

@chinnumv @rasheedk there was a problem with publishing the package last time. It has been published now. You can try it out 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firebase fuction returning "Response is not valid JSON object."
The issue might be with the handler. You're using functions().httpsCallable('your_name') but the handle of the functions is onRequest .
Read more >
Installation & Setup for REST API | Firebase Realtime Database
We can use any Firebase Realtime Database URL as a REST endpoint. All we need to do is append . json to the...
Read more >
unexpected token '<', "<!doctype "... is not valid json - You.com
Hi team, I am facing this error after deploying to Firebase, on localhost everything works quite well and fails in release mode on...
Read more >
Build a Role-based API with Firebase Authentication - Toptal
Let's create the files src/auth/authenticated.ts . On this function, we'll validate the presence of the authorization bearer token in the request header. Then ......
Read more >
redux-firebase/Lobby - Gitter
or just the database/graphql layer? when i was evaluating firebase vs aws seemed ... redux-typescript with react-redux-firebase and i got an error: Property ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found