question

jrmcdona avatar image
jrmcdona asked

What event Namespace should I be using?

I get this error:

The requesting entity is not authorized to write events with namespace com.playfab.events. Allowed namespaces must begin with com.playfab.events.

ae9dr.png (144.5 KiB)
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

·
Citrus Yan avatar image
Citrus Yan answered

As stated in the doc: https://docs.microsoft.com/en-us/rest/api/playfab/events/playstream-events/writeevents?view=playfab-rest

“The namespace of the Event must be ‘custom’ or start with ‘custom.’.”

Therefore the namespace should be “custom” or “custom.xxx.xxx..”

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.

jrmcdona avatar image jrmcdona commented ·
@Citrus Yan

as stated on the Game Manager UI. Name spsace can start with "title.B3483". Is that wrong?

Which is what I originally tried and it fails.

0 Likes 0 ·
Citrus Yan avatar image Citrus Yan jrmcdona commented ·

Events start with title.xxx are sent using the following apis:

WriteTitleEvent

WritePlayerEvent

WriteCharacterEvent

This belongs to the classic api model compared to the new entity model.

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.