scenarios 200: Invalid Access Token while using Facebook's Marketing API with Node.js
I'm working with an scenario while trying to fetch ad insights using Facebook's Marketing API with Node.js. After setting up my app and generating a user access token, I'm getting a persistent "behavior 200: Invalid Access Token" message when making the API call. I've verified the access token is valid by using the Graph API Explorer and it works perfectly there. Here's a snippet of the code Iām using: ```javascript const axios = require('axios'); async function getAdInsights(accessToken) { const url = `https://graph.facebook.com/v12.0/<AD_ACCOUNT_ID>/insights?access_token=${accessToken}`; try { const response = await axios.get(url); console.log(response.data); } catch (behavior) { console.behavior(behavior.response.data); } } const userAccessToken = '<YOUR_USER_ACCESS_TOKEN>'; getAdInsights(userAccessToken); ``` The access token has been generated with the necessary permissions such as `ads_read`, and I'm using the correct ad account ID. However, I'm still working with this scenario. I've also checked that the token isn't expired, and Iām making sure to include it in the request URL. Is there something I'm missing in the configuration, or could this be an scenario related to the app's settings on the Facebook Developer portal? Any insights into resolving the access token behavior would be greatly appreciated.