NamelessMC

Internet Explorer

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

Question api method invalid
Started by Arkon

Arkon

Arkon

Member
Joined
08 Apr 2022
Last Seen
13 Mar 2024
Topics
2
Posts
3

{

    "error": true,

    "code": 3,

    "message": "Metodo API non valido",

    "meta": "If you are seeing this while in a browser, this does not mean your API is not functioning!"

}

https://www.rose-network.it/index.php?route=/api/v2/P4d1eiYBQjohbIUgGc3FkrpRJwlyLvAa

pls help

Arkon · about 1 year ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
22 Nov 2024
Topics
41
Posts
1076

Hi,

This is correct and you will always see this when you are visiting the URL in your browser.

Samerton · about 1 year ago
Arkon

Arkon

Member
Joined
08 Apr 2022
Last Seen
13 Mar 2024
Topics
2
Posts
3

ok, But when I try to connect the API I get this error:

16:41:34 [SEVERE] [NamelessMC] Unexpected error: Unknown API error: false
16:41:34 [SEVERE] [NamelessMC] com.namelessmc.plugin.lib.nameless-api.exception.NamelessException: Unkno
wn API error: false
    at com.namelessmc.plugin.lib.nameless-api.RequestHandler.makeConnection(RequestHandler.java:229)
    at com.namelessmc.plugin.lib.nameless-api.RequestHandler.get(RequestHandler.java:86)
    at com.namelessmc.plugin.lib.nameless-api.NamelessAPI.website(NamelessAPI.java:120)
    at com.namelessmc.plugin.common.ApiProvider.api(ApiProvider.java:118)
    at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:63)
    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)
16:41:34 [INFO] [NamelessMC] [Nameless-Java-API Debug] Making connection GET to https://www.rose-network
.it/index.php?route=/api/v2//info
16:41:34 [INFO] [NamelessMC] [Nameless-Java-API Debug] Website response body, after 370ms:
{
    "nameless_version": "2.0.0-pr12",
    "language": "Italian",
    "version_update": {
        "update": true,
        "version": "unknown",
        "urgent": false
    },
    "modules": [
        "Core",
        "Forum",
        "Store",
        "Forms"
    ],
    "error": false
}
16:41:34 [SEVERE] [NamelessMC] Unexpected error: Unknown API error: false
16:41:34 [SEVERE] [NamelessMC] com.namelessmc.plugin.lib.nameless-api.exception.NamelessException: Unkno
wn API error: false
    at com.namelessmc.plugin.lib.nameless-api.RequestHandler.makeConnection(RequestHandler.java:229)
    at com.namelessmc.plugin.lib.nameless-api.RequestHandler.get(RequestHandler.java:86)
    at com.namelessmc.plugin.lib.nameless-api.NamelessAPI.website(NamelessAPI.java:120)
    at com.namelessmc.plugin.common.ApiProvider.api(ApiProvider.java:118)
    at com.namelessmc.plugin.common.GroupSync.lambda$load$0(GroupSync.java:41)
    at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:63)
    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)

 

Arkon · about 1 year ago · Last edited: about 1 year ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
22 Nov 2024
Topics
41
Posts
1076

Please update to the latest Nameless version in the StaffCP -> Update tab as the plugin will not work with pre-release 12.

Samerton · about 1 year ago