In the advanced management API, when creating a key, the documentation here: https://tyk.io/advanced-api-v0-9/api-keys/ doesn’t mention the meta_data field
If you create a key without this field, the API sets the field to null, and as long as you only use the API to interact with the key this is fine.
If you then try and update this key in the dashboard UI, it complains because it expects an object in this field, and null doesn’t pass its validation.
For now, I’ve made our API calls embed an empty object when creating a key so the dashboard can handle it better
I guess this could go either way based on what you think, but you could either update the validation on the API to expect an empty object, or update the validation on the dashboard to allow null?