Interruzione parzialeshare-external
Unsupported post request when I create event with graph api
1

I want to create an event on a page with the graph api. When I try with this data:

{
  "name": 'test',
    "description": 'test desc',
  "start_time": '2024-10-21T20:00:00',
  "end_time": "2024-10-22T20:00:00"
}

that I post on the endpoint /pageId/events, I have

{
  "error": {
    "message": "Unsupported post request. Object with ID '434543176414829' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
    "type": 'GraphMethodException',
    "code": 100,
    "error_subcode": 33,
    "fbtrace_id": "AeFwLxHPwYXpduFjKYpoLFo"
  }
}

Here's my result from the /me/permissions endpoint

{
   "data": [
      {
         "permission": 'pages_manage_instant_articles',
         "status": "granted"
      },
      {
         "permission": 'pages_show_list',
         "status": "granted"
      },
      {
         "permission": 'page_events',
         "status": "granted"
      },
      {
         "permission": 'pages_read_engagement',
         "status": "granted"
      },
      {
         "permission": 'pages_read_user_content',
         "status": "granted"
      },
      {
         "permission": 'pages_manage_posts',
         "status": "granted"
      },
      {
         "permission": 'pages_manage_engagement',
         "status": "granted"
      },
      {
         "permission": 'public_profile',
         "status": "granted"
      }
   ]
}
Liam
Chiesta circa un mese fa