Getting `"Unknown type \"WebhookFilterInput\"."` errors on my local setup
I have successfully setup the frontend and backend on my localhost but while trying to create a new webhook by running this query
I am getting the error -
I am not able to find the root-cause of the error. I am using postgres-on-docker and wsl2 to run the setup.
3 Replies
I've just tried on our cloud, the following mutation is legit:
{"operationName":"CreateOneWebhook","variables":{"input":{"targetUrl":"a","operation":"*.*","id":"169ec46a-82f2-45db-be1b-5ebd412035f8"}},"query":"mutation CreateOneWebhook($input: WebhookCreateInput!) {\n createWebhook(data: $input) {\n __typename\n createdAt\n description\n id\n updatedAt\n targetUrl\n operation\n }\n}"}
make sure to pass a valid Bearer token (if you want to use the API you can generate an API key from your settings)thanks for replying - did that and it ran successfully🙏
great!