question

totaloncue avatar image
totaloncue asked

Photon Webhooks Problem

photonwebhooks
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

The most immediate thing I'd highlight is that you're currently trying to send title events, where you should be using player events (WritePlayerEvent). Can you try making that change? Also, I'd recommend using try/catch around those server calls, as shown here (https://community.playfab.com/questions/7595/cloudscript-how-do-i-properly-return-an-error-to-t.html) so that you can log any errors and so act upon them.

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 please clarify what the specific problem is that you encountered?

10 |1200

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

totaloncue avatar image
totaloncue answered

(Apologies for the non-query posted earlier -- thought I had deleted the post but seems to have gone through)

I am having a problem setting up Photon webhooks as per the demo in the following page https://api.playfab.com/docs/tutorials/landing-tournaments/photon-unity

Everything seems to work correctly through to the end of the guide; however, no events are registered in the PlayStream based on the Webhooks.

I've used exactly the same code as mentioned in the guide.

The title ID is 51EA and I doublechecked the settings on the Photon side which seem to be correct as well.


Thanks

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.