Create trigger failed
See original GitHub issueI receive an error whenever I attempt to add a trigger. The message indicates I’m using invalid characters but that doesn’t seem to be the case. In the example I’m just using “test”.
Based on the error I think the error originates from https://github.com/hasura/graphql-engine/blob/master/server/src-lib/Hasura/RQL/Types/Subscribe.hs#L129
When I look at the request from the console it’s sending:
{"name":"create_trigger_test","up":[{"type":"create_event_trigger","args":{"name":"test","table":{"name":"submissions","schema":"public"},"webhook":"https://localhost:9292/hook","insert":{"columns":["id","embed_id","created_at","created_by_id"]},"headers":[]}}],"down":[{"type":"delete_event_trigger","args":{"name":"test"}}]}
I’m using v1.0.0-alpha28

Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
syntax error in create trigger, what's wrong? - Stack Overflow
You forgot to change the delimiter, so MySQL thinks your first statement is this: CREATE TRIGGER `trg_part_upd` AFTER UPDATE ON ...
Read more >Trigger keeps creating error - MariaDB Knowledge Base
Trigger keeps creating error. I am not understanding why I keep getting this error. Can anyone explain? I am entering it through HeidiSQL:...
Read more >insert trigger failing -> this fails the original insert? - MSDN
I'm new to triggers. I have an insert trigger defined on table1. This trigger writes certain data to table2. When the trigger fails, ......
Read more >2559983 - Trigger Creation Error in SLT: inconsistent datatype
After a source refresh or migration, table fails to replicate. View Error for table has error similar to: Failed to create triggers for...
Read more >Dropping or disabling a trigger fails with error -242 / -106 - IBM
1) Use LOCK MODE WAIT for the session which runs the DDL statement. 2) Use undocumented $ONCONFIG parameter & environment variable NONEXCLTRIG.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For anyone else encountering this, I’ve tested and the issue is resolved in
v1.0.0-alpha29
.Thanks @0x777 & @tirumaraiselvan - I’m really loving graphql-engine!
closed with fca0ebf18642075e2706bed528bb57356e586876