Start a new topic

Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters

Hi!

I try to count after an groupId and I received the error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters from Bussiness Logic. What shall I do? If I use an id generate by Kinvey, all it's ok by I need to use a customized id with the prefix 'SNWGroup--'.
1 Comment

Hi Adriana,

This is due to a property of BSON ObjectIDs (which our backing database uses). We are planning to migrate away from using ObjectIDs in the future.



What's the use case?
Login or Signup to post a comment