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.

After clicking the text extension button in Hasura Cloud, the error "Must have at least one of $set, $inc, and $mul" occurs when modifying it.

See original GitHub issue

Version Information

Server Version: CLI Version (for CLI related issue): 2.15.0 (2.15.0-cloud.1)

Environment

Cloud

What is the current behaviour?

Click Collapse in Hasura Console to modify and save column data

Edit failed!
atleast one of $set, $inc, $mul has to be present

An error occurs. We didn’t have this problem in the past, but now we have this problem and we’re having trouble putting data in.

What is the expected behaviour?

When you insert and modify text, data should be entered in the Collapse manner normally. If you do not use Collapse, it will be corrected normally.

How to reproduce the issue?

1.Select columns to change after accessing Hasura Cloud 2.Click Collapse on the Modify tab and enter data 3.Error when inserting data and pressing Save

Screenshots or Screencast

Screen Shot 2022-11-18 at 9 27 52 AM

When you are not using Collapse Screen Shot 2022-11-18 at 9 33 05 AM

Please provide any traces or logs that could help here.

Edit failed!
atleast one of $set, $inc, $mul has to be present

Any possible solutions/workarounds you’re aware of?

Keywords

Hasura Cloud, Collapse

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jieey1140commented, Nov 21, 2022

@adas98012

Wow! I just put data in my production server. The data was successfully INSERTed without any errors. Thank you for your quick handling of the Hasura Team!

Have a nice day. I think this issue has been resolved perfectly, so I think you can close this issue. Thank you. Have a nice day 😃

Screen Shot 2022-11-22 at 2 28 18 AM
0reactions
adas98012commented, Nov 21, 2022

@jieey1140 Our engineering team has identified the issue and deployed a code fix. I retested it and couldn’t see the earlier error anymore. Can you please check and let us know ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Top GraphQL Errors and How to fix them
GraphQL is strongly typed and it performs validation of all queries before executing them. It can reject a query if it is invalid...
Read more >
Handling GraphQL Errors with Hasura & React
A guide to common GraphQL API & Hasura specific errors and how to handle them with React pages.
Read more >
Types of Realtime GraphQL Subscriptions - Hasura
In this post, we will look into the different approaches to real-time GraphQL subscriptions and walk you through the ones that Hasura ......
Read more >
Adding REST endpoints to Hasura
To create a REST endpoint from a query or mutation, you first create a named query/mutation in the GraphiQL API explorer, then press...
Read more >
Allow List of operations | Hasura GraphQL Docs
The Allow List is a list of safe operations (GraphQL queries, mutations or subscriptions) that is stored by the GraphQL Engine in its...
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