If I run smartCollection.create() with a collection object containing a handle value, it works the first time around, but if I run it again, it doesn't work unless I remove the handle key or updates the value to something else. It seems that it's not able to automatically generate a new handle if a collection with the same handle already exists on the store. Instead it just returns 422: Unprocessable Entity error.
If I run
smartCollection.create()
with a collection object containing ahandle
value, it works the first time around, but if I run it again, it doesn't work unless I remove thehandle
key or updates the value to something else. It seems that it's not able to automatically generate a new handle if a collection with the same handle already exists on the store. Instead it just returns 422: Unprocessable Entity error.