GraphRequest `/me` fails on v17+
nvprokofiev opened this issue · comments
Checklist before submitting a bug report
- I've updated to the latest released version of the SDK
- I've searched for existing GitHub issues
- I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- I've read the Code of Conduct
- This issue is not security related and can safely be disclosed publicly on GitHub
Xcode version
15.4
Facebook iOS SDK version
17.0.2
Dependency Manager
SPM
SDK Framework
Core
Goals
We want to update to SDK v17.0.2 to align with the Privacy Manifest requirements but a graph request we are making fails with the error Could not make graph API request Code=-1
GraphRequest(graphPath: "/me",
parameters: ["fields": "id, name"],
tokenString: token?.stringValue,
version: SharedConstants.FB_GRAPH_API_VERSION,
httpMethod: .get)
<FBSDKGraphRequestConnection: 0x301db73a0, 1 request(s): (
<FBSDKGraphRequest: 0x301534460, graphPath: /me, HTTPMethod: GET, parameters: {
"access_token" = XXX;
fields = "id, name";
format = json;
"include_headers" = false;
sdk = ios;
}>
)>
There are no code changes, only updated the SDK version, everything is fine on v16.3.1.
The same request succeeds when testing on the dev portal.
Expected results
The request should succeed as on v16.3.1
Actual results
The request fails with Could not make graph API request Code=-1
Steps to reproduce
No response