Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
a
adrianaNik
started a topic
over 6 years ago
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
C
Caroline
said
over 6 years ago
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.
adrianaNik
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--'.