would you please remove the public access on the collection and try running this again?
wait now I'm confused
my API key says never used but
how else would I be connecting?
Yeah I'll try
your collection is public
okay so I just made it not public
so if I understand this correctly, if the collection is public it's subject to the rate limits regardless of API key?
the point is you're not using your api key. something is wrong in your code such that you aren't using the api key
the only part of my code is initializing the client
either that or the api key is invalid
where I do in fact use the API key
it's fine now
which means that a public collection doesn't use the API key even if it's present
my API key now says it was accessed today, (it didn't before, it said never) and I'm no longer getting rate limited, which means it's a public collection bug
this is the only code I use
DB_ID = "twitterai_db"
CLIENT = (
Client()
.set_endpoint("https://appwrite.zachhandley.com/v1")
.set_project("ai_twitter_bot")
.set_key(
"420cbccdeecbbb858e7e72ffe0f112f9e48d43aba1ea3ae4fb6ffbeee94956a8bdbdbc582df5c_MY_API_KEY_MINUS_SOME_STUFF"
)
)
DATABASES = Databases(CLIENT)
class DBManager:
def __init__(self):
self.client = CLIENT
self.database = DATABASES
is there a way to mass create or mass delete?
concurrently call createDocument or deleteDocument
okay so not really, gotcha, either way, thank you, solved my problem ❤️
[SOLVED] How to get all documents from list_documents?
also @Steven if you guys want you shold add to the Appwrite bot a ?solved
command or something, the Discord.py bot does that and it's useful so you guys don't need to change titles
It changes it to [SOLVED] TITLE
and turns off replies
@Appwrite bot (mee6) doesn't support that as far as I know
Want me to write a quick bot to do it?
that's okay. we'll keep the idea in mind, though
Recommended threads
- Seed db
hello there... is this correct way to seed appwrite
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...