question

davidecifarelli avatar image
davidecifarelli asked

Unable to login with CostumID on UWP build

Hello everyone, with my team we are publishing an educational game for multiple platforms, in the build for ios and android we had no problem with playfab and everything went according to plan. Instead, once we created the build for uwp we immediately noticed that we could not log in in any way. I tried to find out if this problem had already happened to someone but I have not found answers that have been able to help me.

Title ID: DCC53

Logs:


Error while logging

UnityEngine.Logger:Log(LogType, Object)

UnityEngine.Debug:Log(Object)

PlayfabManager:OnErrorLogin(PlayFabError)

PlayFab.Events.PlayFabResultEvent`1:Invoke(TResult)

PlayFab.Internal.PlayFabUnityHttp:OnResponse(String, CallRequestContainer)

PlayFab.Internal.<Post>d__12:MoveNext()

UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

/Client/LoginWithCustomID: Invalid input parameters

CustomId: CustomId value was 104 characters long which is outside of allowed length (between 0 and 100 characters).

UnityEngine.Logger:Log(LogType, Object)

UnityEngine.Debug:Log(Object)

PlayFab.Events.PlayFabResultEvent`1:Invoke(TResult)

PlayFab.Internal.PlayFabUnityHttp:OnResponse(String, CallRequestContainer)

PlayFab.Internal.<Post>d__12:MoveNext()

UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

Setting up 3 worker threads for Enlighten.

Thread -> id: 2754 -> priority: 1

Thread -> id: 1fe0 -> priority: 1

Thread -> id: 1d50 -> priority: 1

10 |1200

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

1 Answer

·
Seth Du avatar image
Seth Du answered

The error indicates clearly the invalid parameter in the request:

/Client/LoginWithCustomID: Invalid input parameters

CustomId: CustomId value was 104 characters long which is outside of allowed length (between 0 and 100 characters).

Please reduce this custom ID length and try again.

2 comments
10 |1200

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

davidecifarelli avatar image davidecifarelli commented ·

Yes, that is clear. Unfortunatly i did not remember how to setup costum ID length. Now everything works fine!

Thank you.

1 Like 1 ·
Peter Johnson avatar image Peter Johnson davidecifarelli commented ·

and how do you do it? I'm having the same issue ?

thanks

0 Likes 0 ·

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.