HTTP Error 409 #335
-
hey i tryied to use deta-python i tried to insert same key two times. I've got this exception |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
the method |
Beta Was this translation helpful? Give feedback.
the method
insert
only adds a new field inside the base if the key doesn’t exist inside the base previously. if the key already exists it will raise the error which one you are seeing right now. you can send updates to the pre existing key or just overwrite the field of the pre existing key usingput
method