Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Colombia Humana Posted February 3, 2023 Posted February 3, 2023 Hi there, I'm pretty sure the request is well made: follow app is "core", follow area is "clubs", and the club ID is correct. However I get "Invalid Content": 404 { "errorCode": "2C292\/J", "errorMessage": "INVALID_CONTENT" } This is my request: import requests url = "https://community.com/api/core/members/123/follows" payload = "followApp=core&followArea=club&followId=123" headers = { 'Content-Type': 'application/x-www-form-urlencoded' } response = requests.post(url, data=payload, headers=headers, auth=('12345', '')) print(response.status_code) print(response.text) If I try with any other instance such as Calendar, it works just fine... But Club fails... Could it be a bug?
Alexandru Posted February 3, 2023 Posted February 3, 2023 (edited) Could you tell me what are you trying to request actually? Cuz somehow for me makes no sense. Take a look over here.https://invisioncommunity.com/developers/rest-api?endpoint=core/clubs/GETindex You have more examples there, just use the navigation from the left of your screen once there. Edited February 3, 2023 by drawncodes
Daniel F Posted February 3, 2023 Posted February 3, 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. Alexandru and Colombia Humana 2
Solution Marc Posted March 10, 2023 Solution Posted March 10, 2023 Just a quick update to let you know that this issue was resolved in the recent 4.7.8 release of our platform. Please upgrade your site to resolve this issue. If you are still seeing any issues after upgrading to this version, please let us know.
Recommended Posts