Could you please tell me which platform are you using? If you are using Unity, did you follow this documentation Photon quickstart to set up photon? If not, could you please tell me the steps of how you set up the photon?
2 People are following this question.
Discovery & Warning: When using Photon - add a customAuth.UserId as your PlayFabId!
Playfab compatible With a photon server
Issues with a Photon RoomEventRaised webook call
How can I do something via cloudscript when a Photon event triggers, such as joining a room?
Setting up Playfab + Photon on Unity... which SDKs do I need?