facebook / facebook-java-business-sdk

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

Seeing "Unsupported request - method type: post" error messages when using Java SDK, but same request on Graph Explorer works as expected #374

Open hsabbathi opened 2 years ago

hsabbathi commented 2 years ago

Which SDK version are you using?

V12

What's the issue?

Seeing "Unsupported request - method type: post" error messages when using Java SDK, but the same request on Graph Explorer works as expected

I'm seeing this error specifically when we attempt to track customer's Ad by setting a tracked creative.

Here's the full error message: "{"error":{"message":"Unsupported request - method type: post","type":"GraphMethodException","code":100,"fbtrace_id":"AKsGyyK4z2f5zUzrk5GTAcz"}}"

I created a FB bug ticket, but because they don't support Java SDK, I was directed here.

hsabbathi commented 2 years ago

Here's the session that works as expected: https://developers.facebook.com/tools/explorer/1829444163943758/?session_id=3398151890468690