hi guys we had issue on creating collections where...
# community-help
j
hi guys we had issue on creating collections where the error is
Copy code
a valid `x-typesense-api-key` header must be sent
The error above is a bit misleading because it is not directly telling us that the api key I am using is not allowed to create a new schema
j
That’s by design. You don’t want a malicious actor to get insight into whether a key is valid and just doesn’t have enough permissions, or if it’s completely invalid
j
thats fine. Im just sharing because it took me half of my day trying to debug what was wrong when I can create other collections and I did not know that creating a collections can be restricted
k
We do provide additional information in the logs, but in Typesense Cloud these logs are not exposed. So that's something we can allow in future. Thanks for the feedback.
❤️ 1