NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

API key and url invalid
Started by optimuscraft

optimuscraft

optimuscraft

Member
Joined
06 Jun 2022
Last Seen
10 Jun 2022
Topics
2
Posts
4

I am trying to link the discord bot and also activate the plugin in the server, but it says the api key and URL are invalid.

[08:08:39 INFO]: [NamelessMC] [Nameless-Java-API Debug] Making connection GET to https://mysitename.com.br/index.php?route=/api/v2/info

[08:08:40 INFO]: [NamelessMC] [Nameless-Java-API Debug] Website response body:

{"error":"nameless:invalid_api_key"}

[08:08:40 ERROR]: [NamelessMC] Cannot connect to your website, got an unexpected API error: API error nameless:invalid_api_key

[08:08:40 WARN]: [NamelessMC] Debug is enabled, printing full stack trace:

[08:08:40 ERROR]: [NamelessMC] API error nameless:invalid_api_key

[08:08:40 ERROR]: [NamelessMC] com.namelessmc.plugin.lib.nameless-api.exception.ApiException: API error nameless:invalid_api_key

        at Nameless-Plugin-Spigot-3.0.0.jar//com.namelessmc.plugin.lib.nameless-api.RequestHandler.makeConnection(RequestHandler.java:206)

        at Nameless-Plugin-Spigot-3.0.0.jar//com.namelessmc.plugin.lib.nameless-api.RequestHandler.get(RequestHandler.java:86)

        at Nameless-Plugin-Spigot-3.0.0.jar//com.namelessmc.plugin.lib.nameless-api.NamelessAPI.website(NamelessAPI.java:84)

        at Nameless-Plugin-Spigot-3.0.0.jar//com.namelessmc.plugin.common.ApiProvider.api(ApiProvider.java:101)

        at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101)

        at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)

        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)

        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)

        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)

        at java.base/java.lang.Thread.run(Thread.java:833)

optimuscraft · over 2 years ago
optimuscraft

optimuscraft

Member
Joined
06 Jun 2022
Last Seen
10 Jun 2022
Topics
2
Posts
4

[08:14:22 WARN]: [NamelessMC] Debug is enabled, printing full stack trace:

[08:14:22 ERROR]: [NamelessMC] Website sent empty response with status code 302

[08:14:22 ERROR]: [NamelessMC] com.namelessmc.plugin.lib.nameless-api.NamelessException: Website sent empty response with status code 302

        at Nameless-Plugin-Spigot-3.0.0.jar//com.namelessmc.plugin.lib.nameless-api.RequestHandler.makeConnection(RequestHandler.java:156)

        at Nameless-Plugin-Spigot-3.0.0.jar//com.namelessmc.plugin.lib.nameless-api.RequestHandler.get(RequestHandler.java:86)

        at Nameless-Plugin-Spigot-3.0.0.jar//com.namelessmc.plugin.lib.nameless-api.NamelessAPI.website(NamelessAPI.java:84)

        at Nameless-Plugin-Spigot-3.0.0.jar//com.namelessmc.plugin.common.ApiProvider.api(ApiProvider.java:101)

        at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101)

        at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)

        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)

        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)

        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)

        at java.base/java.lang.Thread.run(Thread.java:833)

optimuscraft · over 2 years ago