Jump to content

Problem with API

Go to solution Solved by Marc Stridgen,

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":

    "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', ''))


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...
  • Recently Browsing   0 members

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