Fauna upload-graphql-schema gives Response: undefined

I am using Fauna locally to interact with the database from cloud.
After I login to fauna cloud (fauna cloud-login), I run the upload-graphql-schema command and the response is undefined

Is this a bug in fauna shell or there is some step that I’ve missed?

Thanks!

Hi @ClaudiaGiv I was able to get the same response.

When I did it, the schema successfully uploaded, although the console just says, “undefined”. Did the schema upload for you?

UPDATE:

Since the schema uploaded for me (please still confirm that it does for you as well), I believe this is just a bug with how fauna-shell prints the result. Still, it is terribly confusing if that is the case.

I’ve created a github issue: upload-graphql-schema command prints "RESPONSE: undefined" · Issue #133 · fauna/fauna-shell · GitHub

This has also created an internal ticket for us to track and prioritize.

1 Like

Yes @ptpaterson the schema was updated for me also.
Thanks!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.