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.

(1.3.4-beta.2) action relationship with permissions

See original GitHub issue

Trying out 1.3.4 beta 2 today (from 1.3.3) and I have run into multiple issues. Haven’t had issues upgrading before. PostgreSQL 11.5

  1. Hasura wouldn’t start due to hyphens in primary keys. This worked previously. {"type":"startup","timestamp":"2020-12-22T16:14:35.348+0000","level":"error","detail":{"kind":"catalog_migrate","info":{"path":"$","error":"cannot include "article-article_category_pk" in the GraphQL schema because it is not a valid GraphQL identifier",“code”:“validation-failed”}}} .` I refactored those to remove the error.

  2. Then, I got an error on a previously working Action query. I’m not using hasura.user anywhere in code. I finally restarted the server and it went away. "error": { "path": "$", "error": "unrecognized configuration parameter \"hasura.user\"", "code": "constraint-error" },

  3. Now, I’m getting “invalid input syntax for type json” from the same action. "error": { "path": "$", "error": "invalid input syntax for type json", "code": "data-exception" },

It’s a simple action–not sure where to go from here: type GetHomeContentOutput { postId : Int }

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tirumaraiselvancommented, Jan 4, 2021

I have been able to reproduce this and forwarded to our engineering team. Thanks for the report!

The issue seems to arise when using a role and action relationships (with permissions on the relationship table). I also recvd the two errors on different runs which is really weird:

"error": { "path": "$", "error": "unrecognized configuration parameter \"hasura.user\"", "code": "constraint-error" },

and

"error": { "path": "$", "error": "invalid input syntax for type json", "code": "data-exception" },
0reactions
tirumaraiselvancommented, Jan 4, 2021

Thanks @jacdx . I was on holidays last few days. I will check your repro today.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Assign Actionable Relationship Center Permissions to Users
From Setup, in the Quick Find box, enter Permission Sets , and then click Permission Sets. Click the newly created permission set, for...
Read more >
ILRemote 1.3.4 beta (android) | Forum
Re: ILRemote 1.3.4 beta (android) ... Default layout only thing tried so far. Main page remote controls function, but input indicator shows them...
Read more >
Support gaps during the COVID-19 pandemic: Sex differences and ...
Nurturant support focuses on coping with the stressor emotionally or cognitively, whereas action-facilitating support focuses on solving the problem ...
Read more >
Sodium channels and the synaptic mechanisms of inhaled ...
Potential presynaptic targets for general anaesthetic action include: nerve terminal excitability/depolarization, Ca2+ influx (by direct effects ...
Read more >
- R3 Documentation
org.apache.commons : commons-lang3 : 3.9 · com.fasterxml : classmate : 1.3.4 · io.github.classgraph : classgraph : 4.8.90 · com.fasterxml.jackson. · org.apache.
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