facebook / facebook-java-business-sdk

Java SDK for Meta Marketing APIs
https://developers.facebook.com/docs/business-sdk
Other
389 stars 322 forks source link

Business.fetchById(businessId, context) is requesting a nonexisting field 'is_instagram_enabled_in_fb_analytics' causing it to fail #351

Open hector-barriuso-scopely opened 3 years ago

hector-barriuso-scopely commented 3 years ago

Which SDK version are you using?

11.0.0

What's the issue?

Business.fetchById(businessId, context) operation fails with a message "(#100) Tried accessing nonexisting field (is_instagram_enabled_in_fb_analytics) on node type (Business)"

Steps/Sample code to reproduce the issue

Create a valid businessId and context instance, and then try to fetch a Business instance for that businessId using the Business.fetchById(businessId, context) method.

Observed Results:

Operation fails with a message "(#100) Tried accessing nonexisting field (is_instagram_enabled_in_fb_analytics) on node type (Business)". Business is including this field as part of the ALL_FIELDS array, but API does not support it.

Expected Results:

A valid Business instance should be returned with no errors.

stale[bot] commented 2 years ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.