Ask a Question

Ask a Question
ANSWERED

How do I resolve a "BsonSerializationException": "Element name '\_id' is not valid'. " when trying to use the CRUD Update Extension for Mongo?

Currently, I have a problem with the CRUD Update extension for Mongo. It requires the ID as string and the document to update. The Document to update is derived from StorageDocument where the ID is a string field. However when the document is sent to UpdateOneAsync the ID is converted to an ObjectID for the filter. Still, the document is sent as is including the \_id field as String rather than ObjectID. That results in a BsonSerializationException": "Element name '\_id' is not valid'. So a CREATE, GET, UPDATE does not work. Also DateTime values are a problem. GET with a DateTime and without any change Update fails because of the same issue (I guess wrong type: BsonSerializationException" "Element name 'CreatedAt' is not valid'." ). It all seems that the BsonSerializer is different than for CREATE and GET. All these fields work fine creating and also get returns the same values. Only Update results in a problem and values are completly unchanged. For ID it helps to set it to null but for DateTime fields that dosn't work.
ANSWERED

Am I allowed to use Beamable with Xbox and Playstation games?

Am I allowed to use Beamable with Xbox and Playstation games? Are there any limitations?
ANSWERED

What are API calls to realms GET config doing?

I see calls to realm config in my API calls. What does this do? Am I charged for these calls?
ANSWERED

Can I delete all the data out of my production domain?

I have a project that I've been testing with in production. There are a number of test accounts and a bunch of test data. Before going live with the game, I'd like to delete all the data out of there so it doesn't mess up the stats. Is this possible? If so, how do I delete all the data?
ANSWERED

What's the best practice for login via email?

Hey, I am learning Beamable, and the first thing I need to figure out is authentication. For my game, players have to log in via email, and after I learned the identity section in the documentation, I couldn't find the best way to do this task. Beamable will automatically create a user for each player, generating many temporary accounts, which will cause data pollution. What I need: 1. Beamable does nothing until players click to sign up or sign in. 2. Once players click to sign up and provide their email and password, Beamable creates an account. 3. Once players click to sign in and provide their email and password, Beamable logs in and, if he can pass the authentication, gets access to this user. 4. Once a logged-in player clicks sign out, Beamable returns to the initial state 5. No temporary accounts will be created in all situations. You can consider the login progress of this game to be like that of a traditional mmo-rpg, such as WOW.
ANSWERED

What tool can I use to view the collections in the microstorage?

I have been using the following command to view the local Docker microstorage: beam project open-mongo TimelessExhibitionStorage Once I deploy the microservice and microstorage, is there a way to use that same tool (or another tool) to view the collections in the microstorage?
ANSWERED

How do I set configs for a child realm?

When creating a child realm, is there are a way to set configs?
ANSWERED

Can I set stats on a player incrementally, like a counter or a cumulative amount?

Can I set stats on a player incrementally, like a counter or a cumulative amount?
ANSWERED

What does this error mean "The scopes [] aren't sufficient for the request." ?

What does the error "The scopes `[]` aren't sufficient for the request" mean? I am trying to use the "Microservice Docs" page of the Beamable Portal to invoke a `[ClientCallable]` on a C# Microservice that I just published to a new realm.
ANSWERED

How do I back up the data from my Micro Storage?

How do I back up the data from my Micro Storage?