Jump to content

Webhooks don't work (bug?)


Go to solution Solved by Daniel F,

Recommended Posts

Hello there,

I already contacted support over this but they told me I should post it here. Creating a webhook with the following triggers: member_create and member_registration_complete will return incomplete data. Happens with both json or x-www-form:

{
    "slug": "23-webhook-listener",
    "token": "dVA0Oa1",
    "{\"id\":null,\"name\":\"Invitado_danfelbm12345\",\"title\":null,\"timeZone\":\"UTC\",\"formattedName\":\"Invitado_danfelbm12345\",\"primaryGroup\":{\"id\":9,\"name\":\"Miembros\",\"formattedName\":\"Miembros\"},\"secondaryGroups\":": [
        ""
    ]
}

another attempt:

{
    "slug": "23-webhook-listener",
    "token": "dVA0Oa1",
    "{\"id\":189269,\"name\":\"danfelbm12345\",\"title\":null,\"timeZone\":\"UTC\",\"formattedName\":\"danfelbm12345\",\"primaryGroup\":{\"id\":9,\"name\":\"Miembros\",\"formattedName\":\"Miembros\"},\"secondaryGroups\":": [
        ""
    ]
}

another attempt:

{
    "slug": "23-webhook-listener",
    "token": "dVA0Oa1",
    "id": "",
    "name": "Invitado danfelbm1235",
    "title": "",
    "timeZone": "UTC",
    "formattedName": "Invitado danfelbm1235",
    "primaryGroup": {
        "id": "9",
        "name": "Miembros",
        "formattedName": "Miembros"
    },
    "secondaryGroups": [],
    "email": "danfelbm1235@gmail.com",
    "joined": "2023-05-31T03:34:24Z",
    "registrationIpAddress": "2800:484:e97e:3826:d091:9e2:699d:7127",
    "warningPoints": "0",
    "reputationPoints": "0",
    "photoUrl": "\/\/content.invisioncic.com\/u325521\/set_resources_4\/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png",
    "photoUrlIsDefault": "",
    "coverPhotoUrl": "",
    "profileUrl": "",
    "validating": "",
    "posts": "0",
    "lastActivity": "",
    "lastVisit": "2023-05-31T03:34:24Z",
    "lastPost": "",
    "birthday": "",
    "profileViews": "",
    "customFields": [],
    "rank": {
        "id": "3",
        "name": "Newbie",
        "icon": "\/\/content.invisioncic.com\/u325521\/monthly_2021_07\/1_Newbie.svg",
        "points": "0"
    },
    "achievements_points": "",
    "allowAdminEmails": "",
    "completed": "1"
}

All custom fields are missing, actually ton of information is missing. In fact, if you see the "name" key/value, it says "Invitado" which means "Guest" ... And that "prefix" should not exist.

The triggers are faulty.

I'm a Cloud customer, so there isn't much I can do beyond reporting this...

Edited by Colombia Humana
Link to comment
Share on other sites

Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.

 

Link to comment
Share on other sites

  • 2 weeks later...
On 5/31/2023 at 8:36 AM, Daniel F said:

Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.

 

I wonder when do you think this release would be made?

Link to comment
Share on other sites

On 6/14/2023 at 6:58 AM, Daniel F said:

In 4.7.11 which will be released soon™️    was just released

@Daniel F I'm afraid the webhook is not being triggered at all 😅 ... it just won't be fired... I've tried with three different platforms (so three distinct webhook listeners), and even Zapier. The webhook is never fired.

Link to comment
Share on other sites

I have just tested it local and can confirm that it works for me.

Could contain: Page, Text, File

What exactly are you trying and are your tasks working at all? Keep in mind that firing a webhook only logs the data to the database and that a separate tasks which is called all 2 minutes sends these data then in batches.

Link to comment
Share on other sites

When I ran it manually, it still didn't work. The logs are empty unfortunately.

In the table you mentioned, I did find it... member_registration_complete and the details are the account I just tried to create. However, the status is "pending"...
In fact, all of them are pending... So they're kind of stuck (?)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...