question

omri-cohen avatar image
omri-cohen asked

500 error on WriteEvents

I'm trying to submit events to playfab using the nodejs library and am getting a 500 error:

{"code":500,"status":"InternalServerError","error":"InternalServerError","errorCode":1110,"errorMessage":"An unexpected error occured while processing the request.","errorHash":"53bcb3dfd3c98e0c5aa9d6483e2d05f4","errorDetails":{"RequestID":["1-5d43682f-5dd0d2aad848b314f75f482c"]}}

Here is my code to write an event:

 PlayFabEvents.WriteEvents({"Events":[{"Entity":{"Id":${UserPlayFabEntityId},"Type":"title_player_account"},"EventNamespace":"com.playfab.events.mega.match","Name":"created","Payload":null,"OriginalId":29,"OriginalTimestamp":"2019-08-01T22:23:49.118Z"}]})

What am I doing wrong? How can I get more information on the 500 error?

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.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

Hi, I do not see if there is anything wrong with your code except that the payload is null, however, this is not related to the 500 error. Does this 500 error happens occasionally? If this error happens every time you write an event, could you provide us your title for us to investigate? 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.