You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR] ResponseError { code: InvalidPermissions, message: "Not authenticated or invalid scope" }
[ERROR] ResponseError { code: UnknownError, message: "Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc." }
[ERROR] Failed to configure networking: ResponseError { code: UnknownError, message: "Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc." }
with this code
ublicclassMain {
staticFilefile = null;
staticStringpath = "lib/rpc_lib/x86_64/discord_game_sdk.dll";
publicstaticvoidmain(String[] args) {
file = newFile(path);
Core.init(file);
try(CreateParamsparams = newCreateParams()) {
params.setClientID(1252977240413700137L);
params.setFlags(CreateParams.getDefaultFlags());
// Create the Coretry (Corecore = newCore(params))
{
try(Activityactivity = newActivity())
{
activity.setDetails("Running an example");
activity.setState("and having fun");
// Setting a start time causes an "elapsed" field to appearactivity.timestamps().setStart(Instant.now());
// We are in a party with 10 out of 100 people.activity.party().size().setMaxSize(100);
activity.party().size().setCurrentSize(10);
// Make a "cool" image show upactivity.assets().setLargeImage("test");
// Setting a join secret and a party ID causes an "Ask to Join" button to appearactivity.party().setID("Party!");
activity.secrets().setJoinSecret("Join!");
// Finally, update the current activity to our activitycore.activityManager().updateActivity(activity);
}
while(true)
{
core.runCallbacks();
try
{
// Sleep a bit to save CPUThread.sleep(16);
}
catch(InterruptedExceptione)
{
e.printStackTrace();
}
}
}
}
}
}
ive configured the discord application on the developer portal and i get a networking error i dont know where it came from please help
The text was updated successfully, but these errors were encountered:
i would just like to say that i looked at other issues and got the rich presence (my goal) to work but i still get the responseerrors and I would like to suppress them because yes so if anyone could please help i would appreciate it
hi i get this error
with this code
ive configured the discord application on the developer portal and i get a networking error i dont know where it came from please help
The text was updated successfully, but these errors were encountered: