You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is only an issue for Android. "@segment/analytics-react-native-plugin-facebook-app-events": "^0.5.4",
When the log call to facebook goes out, the value for the _logTime is an exponent string where an integer is expected:
400 error for POST https://graph.facebook.com/v15.0/xxxxxx/activities
{
"error":{
"message":" (#100) Param custom_events[0][_logTime] must be an integer",
"type":"OAuthException",
"code":100,
"fbtrace_id":"xxxxxxx",
},
}
I can't figure out where the logTime gets converted, but the logTime in the request body is shaped as follows:
I did some logs in the @segment/analytics-react-native-plugin-facebook-app-events lib and the logTime is indeed a number when it is passed to the AppEvents sdk but somewhere along the line it gets converted into a string...again this is happening only on Android for us.
The text was updated successfully, but these errors were encountered:
@esdrasetrenne Sorry for the lack of updates. Some reorgs have been impacting us.
I tried debugging this, but I notice the same as you, the library itself is handling this off to the SDK as a number. Which version of RN and FBSDK-next are you using? Given that this only happens in Android it might be related to some transformation happening over the bridge communication
to be honest, I haven't tracked whether this is still happening or not, and if it turns out this is a version issue we may just wait to update.
And since this library is passing it off correctly, then maybe it's not a bug with this library? Were you seeing the same issue on android or maybe there is just something wrong with our team's configs
This seems to be related to #878 but different...
This is only an issue for Android.
"@segment/analytics-react-native-plugin-facebook-app-events": "^0.5.4",
When the log call to facebook goes out, the value for the
_logTime
is an exponent string where an integer is expected:I can't figure out where the logTime gets converted, but the logTime in the request body is shaped as follows:
I did some logs in the
@segment/analytics-react-native-plugin-facebook-app-events
lib and the logTime is indeed a number when it is passed to the AppEvents sdk but somewhere along the line it gets converted into a string...again this is happening only on Android for us.The text was updated successfully, but these errors were encountered: