question

robinjacksonrh avatar image
robinjacksonrh asked

Operation 227 Failed to create game due to user not found

Hello,

I followed the instructions on

https://api.playfab.com/docs/tutorials/landing-tournaments/photon-unity to setup Photon with PlayFab in Unity. However, after I had loaded into the Demo Boxes scene, there was an error telling me the game cannot be created due to user not found. Here is the whole error message:

Operation 227 failed in a server-side plugin. Check the configuration in the Dashboard. Message from server-plugin: Failed to create game on https://486.playfablogic.com/webhook/1/prod/SG9U8QGUFF1GDE7TOQ8BFWWTY47IMT4ZBP8ZEXE4GGWD8A8AA3/RoomCreated? : Error response ResultCode='2' Message='User not found'.


UnityEngine.Debug:LogError(Object)


NetworkingPeer:OnOperationResponse(OperationResponse) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:1624)

Could anyone show me how to solve the problem? Any reply would be appreciated, thank you.

unity3dphoton
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

·
brendan avatar image
brendan answered

The Exit Games team will be providing a write-up of the configurations steps in their dashboard shortly, but for now, here's what you need to know:

The Auth URL should be in this format:

https://[PlayFabTitleId].playfabapi.com/photon/authenticate

The URL for webhook calls should be in this format:

https://[PlayFabTitleId].playfablogic.com/webhook/1/prod/[webhooksecret]

5 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.

robinjacksonrh avatar image robinjacksonrh commented ·

Thank you. I will be looking forward to that.

0 Likes 0 ·
Steve avatar image Steve commented ·

I might be missing something obvious as this is my first time with PlayFab. Could I ask for more detail?

Are you saying I should be visiting my Photon-dashboard and make sure the URL's are correctly listed? My URL for webhook calls looks correct, but there is nothing under authentication.

0 Likes 0 ·
brendan avatar image brendan Steve commented ·

The Photon folks just updated with two docs that provide the details of the configuration steps on their side. We'll be adding these to the Photon add-ons page shortly, but for now, the links are:

https://doc.photonengine.com/en-us/realtime/current/reference/playfab

https://doc.photonengine.com/en-us/chat/current/reference/playfab
0 Likes 0 ·
Steve avatar image Steve brendan commented ·

Thank you! This was just what I needed. :)

0 Likes 0 ·
Show more comments

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.