Closed BrinedFish0222 closed 8 months ago
To put new objects, make sure their ObjectBox @Id
property is set to 0
.
If you need to store an externally provided ID we recommend creating a separate property for that, see the docs for an example.
Without additional information, we are unfortunately not sure how to resolve this issue. Therefore this issue has been automatically closed. Feel free to comment with additional details and we can re-open this issue.
I hope you can help me. Thank you for your help.
An error occurred while put data : Invalid argument(s): object put failed: ID is higher or equal to internal ID sequence: 4 (vs. 1). Use ID 0 (zero) to insert new entities. (OBX_ERROR code 10002)
Basic info
ObjectBox version: 2.2.0 Flutter/Dart SDK: 3.7.0 Reproducible: always Build OS: Windows 11 Deployment device or OS: ALL
code
error msg: