Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 31, 20231 yr 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, 20231 yr by Colombia Humana
May 31, 20231 yr 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.
May 31, 20231 yr Author 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.
June 14, 20231 yr Author 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?
June 16, 20231 yr Author 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.
June 16, 20231 yr 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.
June 16, 20231 yr Author 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?
June 16, 20231 yr Are there any records in the core_api_webhook_fires table? What happens when your run the webhooks task manually?
June 16, 20231 yr Author 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 (?)
June 17, 20231 yr 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.