Colombia Humana Posted May 31, 2023 Posted May 31, 2023 (edited) 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 May 31, 2023 by Colombia Humana
Daniel F Posted May 31, 2023 Posted May 31, 2023 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.
Colombia Humana Posted May 31, 2023 Author Posted May 31, 2023 Awesome, thank you! hopefully it will be fixed... soon 🙈 this one is critical for me as I sync my members with the CRM, and right now I have to manually export and import over there 😅 Regards.
Colombia Humana Posted June 14, 2023 Author Posted June 14, 2023 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?
Solution Daniel F Posted June 14, 2023 Solution Posted June 14, 2023 In 4.7.11 which will be released soon™️ was just released Colombia Humana and Marc 1 1
Colombia Humana Posted June 16, 2023 Author Posted June 16, 2023 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.
Daniel F Posted June 16, 2023 Posted June 16, 2023 I have just tested it local and can confirm that it works for me. 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.
Colombia Humana Posted June 16, 2023 Author Posted June 16, 2023 That's quite strange, I'd assume it was my fault if it wasn't because not even Zapier worked. I'm trying to run member_registration_complete I think my webhooks may be broken. Can you test if member_registration_complete works on your end?
Daniel F Posted June 16, 2023 Posted June 16, 2023 Are there any records in the core_api_webhook_fires table? What happens when your run the webhooks task manually? SeNioR- 1
Colombia Humana Posted June 16, 2023 Author Posted June 16, 2023 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 (?)
Daniel F Posted June 17, 2023 Posted June 17, 2023 That's weird. I have created a support request so we can look at this on monday. Please make sure that the credentials in your client area are correct.
Recommended Posts