-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid parameter provided for 'install-curseforge' command: #3251
Comments
If you're sure the API key is valid (thanks for confirming the escaped dollar signs) then it must be the rate-limit, as mentioned in the error: ERROR : Invalid parameter provided for 'install-curseforge' command: Access to https://api.curseforge.com/ is forbidden or rate-limit has been exceeded. Ensure CF_API_KEY is set to a valid API key from https://console.curseforge.com/ or allow rate-limit to reset. |
I see the same. It appears to be hitting a rate limit. I think i can 'trick' it into downloading more when I restart the container.
This is for docker compose running in portainer.
|
Follow up, I was able to get everything running after restarting the container about a dozen times. |
I have it cache the API calls across restarts, so that would explain why it eventually finished up for you @Ingraved I'm now wondering if they impose different rate limits for different regions. |
Ok, how can i change the rate-limit? So my only option is to restart the cointainer until it works? :D |
Describe the problem
When i try to docker compose up my .yml file i always get this error. I doubled the $ signs in my API Key.
[mc-image-helper] 20:29:41.458 ERROR : Invalid parameter provided for 'install-curseforge' command: Access to https://api.curseforge.com is forbidden or rate-limit has been exceeded. Ensure CF_API_KEY is set to a valid API key from https://console.curseforge.com/ or allow rate-limit to reset.
mc-1 | [init] [ERROR] Failed to auto-install CurseForge modpack
Container definition
services:
mc:
image: itzg/minecraft-server
tty: true
stdin_open: true
ports:
- "25565:25565"
environment:
EULA: "TRUE"
CF_API_KEY: '$$2a$$10$$....'
TYPE: AUTO_CURSEFORGE
MEMORY: 10G
CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/all-the-mods-10
Container logs
The text was updated successfully, but these errors were encountered: