Jump to content

Problem with API


Colombia Humana
Go to solution Solved by Marc,

Recommended Posts

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?

Link to comment
Share on other sites

  • 1 month later...
  • Solution

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.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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