mrautomation
(Integration for QuickBooks (IQ))
1
Hey Monday.com Team,
Our Monday App (Custom Board View) creates a webhook on behalf of our user and we’re noticing some strange behavior.
It looks like the User ID in the Webhook Event Payload is being returned as -4
about half of the time (please see the screenshots below).
We rely on the userId
in the event payload to notify the user via Monday.com notifications for when errors occur during background processes.
Please let me know if this is a bug or has something to do with OAuth Scopes or something else!
CC: @dipro
Cheers,
Chris
Screenshots:
From Logs → JSON Payload:
From Database → You’ll see that this happens sporadically:
mrautomation
(Integration for QuickBooks (IQ))
2
@dipro Also, please let me know if I should tag someone else for things like this, or submit these bug reports elsewhere!
mrautomation
(Integration for QuickBooks (IQ))
3
It might also be good to tag @AlexSavchuk
basdebruin
(Bas de Bruin)
4
hi @mrautomation , Chris
As far as I remember -4 is used for viewer or guests
mrautomation
(Integration for QuickBooks (IQ))
5
@basdebruin Thanks for the reply.
These webhook events were triggered by an admin within our system
basdebruin
(Bas de Bruin)
6
@mrautomation
Is that an active admin? I remember those -4 userIds, but I don’t know exactly what caused it. Will have a look through my archives.
1 Like
dipro
(Dipro Bhowmik)
7
Hey @mrautomation – it means that the action was completed by an automation.
Some more detail: let’s say you have the following recipes on one board:
- Native automation: When an item is created, change status to Working on it
- Webhook integration: When item is created, send a webhook
- Webhook integration: When a status changes, send a webhook
When someone creates an item, your URL will then receive two events:
- Event 1: represents item creation. The user ID will be the person who created the item.
- Event 2: represents status change. The user ID will be
-4
because it was done by an automation.
Shoutout to @basdebruin for the hint about viewers. With that detail I was able to reproduce it quite easily.
1 Like
mrautomation
(Integration for QuickBooks (IQ))
8
Makes so much sense @dipro !!
Thank you both @dipro @basdebruin .
Cheers,
Chris
system
(system)
Closed
9
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.