imagekit-developer / imagekit-react

React SDK for using ImageKit.io
https://imagekit.io
MIT License
102 stars 28 forks source link

deleting custom metadata prevents remaking custom metadata with the same name #115

Closed jswelsh closed 1 year ago

jswelsh commented 1 year ago

I have deleted a custom metadata that needed its type updated for my use case. In the docs it says you cannot update the type so my assumption was to delete it and then create the same name with the correct type.

I've tried using the imagekit.io GUI dashboard @ https://imagekit.io/dashboard/settings/media-library as well as createCustomMetadataField in my JS file with both failing saying "A custom metadata field with this name already exists" yet it is not showing in my list of custom metadata list as I have deleted it. I have waited awhile assuming it maybe a delay on the server to reconcile but im starting to suspect it has a list of custom metadata that doesn't update on deletes. Any guidance would be awesome.

imagekitio commented 1 year ago

You have to choose a different name. We will update the API docs.

Unrelated to this SDK, so closing this issue.