question

Planet 316 avatar image
Planet 316 asked

LoginWithiOSDeviceId fails with success

Android is working fine, however, the iOS code is hitting error with a successful login. The error message that is being returned is showing a returned json looking string with code 200. It shows a session ticket and the playfabID, but it is landing under error for some reason.

Really could use some help on this as it's suppose to be pushed out to Apple today. Thanks for any help you can provide.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Planet 316 avatar image
Planet 316 answered

Ok, we got it working. Thanks again. We deleted the sdk folder for playfab and reinstalled the sdk and it works now. Really odd. Maybe something didn't take when we upgraded the sdk before.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

brendan avatar image
brendan answered

Can you provide the full response info and the specific values passed into the call? Feel free to obscure the Session Ticket and Device ID. Also, what SDK are you using, including version number?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Planet 316 avatar image
Planet 316 answered

Using the recent unity sdk, can't recall the sdk version number, it's the one that was just released Unity version is 5.2.2 (older project, so can't upgrade unity for this project)

Error.ErrorMessage returns

{"code": 200, "status":"OK", "data": {"SessionTicket":"####", "PlayFabId":"###", "NewlyCreated":"false, "SettingsForUser":{"NeedsAttribution":false}, "LastLoginTime":"2016-08-19T1630:19.5922"})

StackTrace shows

PlayFab.Internal.ResultContainer'HandleResults(CallRequestContainer, Delegate, ErrorCallback, Action'2)

PlayFab<LoginWithiOSDeviceID>c_AnonStoreyD7:<>m_5D(CallRequestContainer)

Playfab.Internal<MakeRequestViaUnity>c_iterator36:MoveNext()

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Planet 316 avatar image
Planet 316 answered

We tried to switch to using customId instead and still got the same error. Just different stacktrace.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.