Http request / post / API meta for developers

:thinking: What is the problem?

Request failed with status code 500
{“error”:{“message”:“An unknown error has occurred.”,“type”:“OAuthException”,“code”:1,“fbtrace_id”:“APKOb-9Vhd3-ZXIzGdUZpU0”}}

:test_tube: What have you tried so far?

webhook → for watch new massege at insta/face by API meta developrs

:camera_with_flash: Screenshots: scenario setup, module configuration, errors


Hi

The 500 error means the request is reaching Meta, but something in the request isn’t valid.

From what I can see, there are two likely issues:

  1. Endpoint / method
  • The endpoint you’re calling may not accept POST, or it expects different parameters.
  • Double-check the exact endpoint and HTTP method in Meta’s API docs.
  1. Request body format
  • Meta expects clean JSON only.
  • Make sure the HTTP module is set to:
    • Body type: Raw
    • Content-Type: application/json
  • Remove line breaks, emojis, or extra text from the body.

Also check that:

  • The access token is valid and has the required permissions
  • The token is sent via Authorization header or query param, not inside the JSON body (unless the API explicitly requires it)

When Meta can’t parse the request, it often returns a generic 500 error like this.

Hope this helps!

Regards, Tony

Welcome to the Make community!

This is likely because you did not include the proper authentication tokens in your request.

I highly recommend using the official integrations, Facebook, or Facebook Messenger, especially if you do not know how to set up the proper “Authentication type”.

@samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!

1 Like

I’m new to Make — how can I check if my Meta access token is added correctly and has the right permissions for this request?

Welcome to the Make community!

A good first step would be to refer to Make’s Facebook integration documentation, as well as the Facebook API documentation.

Hope this helps! If you are still having trouble, please provide more details.

@samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!