Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook Graph API needs to support api v.20 #10407

Closed
theRoundGreek opened this issue Aug 14, 2024 · 3 comments
Closed

Facebook Graph API needs to support api v.20 #10407

theRoundGreek opened this issue Aug 14, 2024 · 3 comments
Labels
in linear Issue or PR has been created in Linear for internal review Released

Comments

@theRoundGreek
Copy link

Bug Description

I have a few flows running that are getting ad perfomance data through the graph api. The past couple of days i wasn't getting any data. Just checked the flow and saw the following in the grap api responses:

[You are calling a deprecated version of the Ads API.](x-ad-api-version-warning:You are calling a deprecated version of the Ads API.)

www-authenticate:OAuth "Facebook Platform" "invalid_request" "(#2635) You are calling a deprecated version of the Ads API. Please upgrade to the latest version: v20.0."

To Reproduce

if you have a facebook business manager account and run ads try to get the follwoing:

node: act_your_account_id
edge: insights

Expected behavior

ad performace data.

Operating System

ubuntu

n8n Version

1.53.2

Node.js Version

18.20.4

Database

PostgreSQL

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Aug 14, 2024

Hey @theRoundGreek,

We have created an internal ticket to look into this which we will be tracking as "GHC-160"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Aug 14, 2024
@Joffcom
Copy link
Member

Joffcom commented Aug 14, 2024

Hey @theRoundGreek,

Thanks for the report I have put in a quick fix for it that will be part of a future release most likely 1.56.0 next week, For now if you change the field to an expression for the version you should be able to input v20.0 and it will work.

@janober
Copy link
Member

janober commented Aug 21, 2024

Fix got released with n8n@1.56.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review Released
Projects
None yet
Development

No branches or pull requests

3 participants