Rate limit for current endpoint has been exceeded. Trying to upload 850 entries.
- 0
- Databases
- Web
Hi, I am currently using the starter plan (free plan) and i am trying to upload my API to my Database.
No when i do this immediately get hit with the error Uncaught (in promise) AppwriteException: Rate limit for the current endpoint has been exceeded. Please try again after some time.
Now i understand ofcourse that this is to prevent Ddos attacks etc.
Now my question is: How do i upload all of my entries without setting off a bunch of flags
export async function AddToDataBase() {
const SpellLevel = Object.keys(api);
SpellLevel.forEach((Level) => {
api[Level].map(async (spells) => {
const spell = {
SpellName: spells.spellName,
School: spells.school,
CastingTime: spells.castingTime,
Range: spells.range,
Duration: spells.duration,
Components: spells.components,
Description: spells.description,
HigherLevel: spells.higherLevel,
Class: spells.spelllists,
SpellLevel: Level,
};
const Doc = await database.createDocument(
process.env.NEXT_PUBLIC_DATABASE_ID,
process.env.NEXT_PUBLIC_COLLECTION_SPELL_ID,
ID.unique(),
spell
);
});
});
}
Recommended threads
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...
- 500 simultaneous OAuth logins from the s...
Hi, I'd like to ask about rate limiting around Google OAuth login on Appwrite Cloud. **OVERVIEW** Service type: A PWA (web app) for members of a university clu...