NATION

PASSWORD

Agadar's Telegrammer (updated Dec 22nd, '18)

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.

Advertisement

Remove ads

User avatar
LittleGermany
Political Columnist
 
Posts: 3
Founded: Sep 15, 2018
Ex-Nation

Postby LittleGermany » Fri Nov 23, 2018 10:08 pm

Hello i have been getting alot of
NationStates API returned: '400 Bad Request' from URL:

i dont think its anything on my side any ideas?

User avatar
Agadar
Powerbroker
 
Posts: 7754
Founded: Dec 06, 2009
Psychotic Dictatorship

Postby Agadar » Sat Nov 24, 2018 6:56 am

LittleGermany wrote:Hello i have been getting alot of
NationStates API returned: '400 Bad Request' from URL:

i dont think its anything on my side any ideas?


No. Can you give more information to work with?
Proud resident of The Western Isles, the #1 role-playing region!
Developer of Telegrammer, NS API Java Wrapper, and more!

User avatar
LittleGermany
Political Columnist
 
Posts: 3
Founded: Sep 15, 2018
Ex-Nation

Postby LittleGermany » Sun Nov 25, 2018 3:59 pm

Agadar wrote:
LittleGermany wrote:Hello i have been getting alot of
NationStates API returned: '400 Bad Request' from URL:

i dont think its anything on my side any ideas?


No. Can you give more information to work with?

What information do you need?

User avatar
LittleGermany
Political Columnist
 
Posts: 3
Founded: Sep 15, 2018
Ex-Nation

Postby LittleGermany » Mon Nov 26, 2018 5:21 pm

LittleGermany wrote:
Agadar wrote:
No. Can you give more information to work with?

What information do you need?

i have all the updated java programs and i have the API keys and telegram keys to match and i seems to keep getting errors when i try to send them out. i sent the resulting error that comes up. not sure what else you need?

User avatar
Agadar
Powerbroker
 
Posts: 7754
Founded: Dec 06, 2009
Psychotic Dictatorship

Postby Agadar » Tue Nov 27, 2018 6:40 am

LittleGermany wrote:
LittleGermany wrote:What information do you need?

i have all the updated java programs and i have the API keys and telegram keys to match and i seems to keep getting errors when i try to send them out. i sent the resulting error that comes up. not sure what else you need?


Does the error not print anything after the ':'? It should contain a description of what went wrong.

If possible, copy-paste the entirety of the output window here or send it to me in a telegram so I can take a look at it.

EDIT: Make sure to obscure your private keys when you copy-paste the output.
Last edited by Agadar on Tue Nov 27, 2018 6:40 am, edited 1 time in total.
Proud resident of The Western Isles, the #1 role-playing region!
Developer of Telegrammer, NS API Java Wrapper, and more!

User avatar
Banana Man154
Political Columnist
 
Posts: 2
Founded: Oct 20, 2017
Inoffensive Centrist Democracy

api not working

Postby Banana Man154 » Mon Dec 03, 2018 6:07 pm

Agadar wrote:
LittleGermany wrote:i have all the updated java programs and i have the API keys and telegram keys to match and i seems to keep getting errors when i try to send them out. i sent the resulting error that comes up. not sure what else you need?


Does the error not print anything after the ':'? It should contain a description of what went wrong.

If possible, copy-paste the entirety of the output window here or send it to me in a telegram so I can take a look at it.

EDIT: Make sure to obscure your private keys when you copy-paste the output.

mine keeps saying "403 Client not registered for appi" and I know I have the right keys, what should I try to do?

User avatar
Phydios
Minister
 
Posts: 2164
Founded: Dec 06, 2014
New York Times Democracy

Postby Phydios » Mon Dec 03, 2018 8:27 pm

Banana Man154 wrote:mine keeps saying "403 Client not registered for appi" and I know I have the right keys, what should I try to do?

If you aren't registered, you need to file a GHR to get new API keys. Yours may have been lost in the server problems this past summer.
Romans 1:18-2:29, Ephesians 2:1-10
But God’s angry displeasure erupts as acts of human mistrust and wrongdoing and lying accumulate, as people try to put a shroud over truth. But the basic reality of God is plain enough. Open your eyes and there it is! | Those people are on a dark spiral downward. But if you think that leaves you on the high ground where you can point your finger at others, think again. Every time you criticize someone, you condemn yourself. | It’s a wonder God didn’t lose His temper and do away with the whole lot of us. Instead, immense in mercy and with an incredible love, He embraced us. He took our sin-dead lives and made us alive in Christ. He did all this on His own, with no help from us!

User avatar
Frisbeeteria
Senior Game Moderator
 
Posts: 23246
Founded: Dec 16, 2003
Anarchy

Postby Frisbeeteria » Mon Dec 03, 2018 8:44 pm

Phydios wrote:Yours may have been lost in the server problems this past summer.

He's not supplying all the relevant information. He's using a different nation's key, but presumably from the correct region. The Client Key is working as expected for the key owner, but not for the secondary recruiter. Mods can't and don't supply tech advice on third party scripts, so I can't tell him anything useful. I'm guessing that's why he posted here.

User avatar
Phydios
Minister
 
Posts: 2164
Founded: Dec 06, 2014
New York Times Democracy

Postby Phydios » Tue Dec 04, 2018 2:58 pm

Frisbeeteria wrote:
Phydios wrote:Yours may have been lost in the server problems this past summer.

He's not supplying all the relevant information. He's using a different nation's key, but presumably from the correct region. The Client Key is working as expected for the key owner, but not for the secondary recruiter. Mods can't and don't supply tech advice on third party scripts, so I can't tell him anything useful. I'm guessing that's why he posted here.

Well, that certainly changes the situation. Hope he figures it out.
Romans 1:18-2:29, Ephesians 2:1-10
But God’s angry displeasure erupts as acts of human mistrust and wrongdoing and lying accumulate, as people try to put a shroud over truth. But the basic reality of God is plain enough. Open your eyes and there it is! | Those people are on a dark spiral downward. But if you think that leaves you on the high ground where you can point your finger at others, think again. Every time you criticize someone, you condemn yourself. | It’s a wonder God didn’t lose His temper and do away with the whole lot of us. Instead, immense in mercy and with an incredible love, He embraced us. He took our sin-dead lives and made us alive in Christ. He did all this on His own, with no help from us!

User avatar
Agadar
Powerbroker
 
Posts: 7754
Founded: Dec 06, 2009
Psychotic Dictatorship

Postby Agadar » Sat Dec 22, 2018 8:54 am

Version 2.0.0 has been released for public testing. It depends on Java 11 (previous version depended on Java 8 ). Happy telegramming!
Last edited by Agadar on Sat Dec 22, 2018 8:56 am, edited 1 time in total.
Proud resident of The Western Isles, the #1 role-playing region!
Developer of Telegrammer, NS API Java Wrapper, and more!

User avatar
Honeydewistania
Spokesperson
 
Posts: 184
Founded: Jun 09, 2017
Compulsory Consumerist State

Postby Honeydewistania » Sat Dec 22, 2018 8:57 am

Why doesn't this provide a bigger list of new nations? The new nations filter only does 2 hours, so it's annoying that it's not constant.
Honeydewistania. Formerly known as Honeydewistan. Hi. Nothing to see here.

User avatar
Agadar
Powerbroker
 
Posts: 7754
Founded: Dec 06, 2009
Psychotic Dictatorship

Postby Agadar » Sat Dec 22, 2018 9:16 am

Honeydewistania wrote:Why doesn't this provide a bigger list of new nations? The new nations filter only does 2 hours, so it's annoying that it's not constant.


That's because the API only returns the 50 newest nations each time it's called. However, my telegrammer provides options that allow you to refresh the list after every telegram, and to run indefinitely. This means you can leave it running indefinitely and it will continue to send telegrams to new nations until the end of the world.
Proud resident of The Western Isles, the #1 role-playing region!
Developer of Telegrammer, NS API Java Wrapper, and more!

User avatar
Townsvalley
Secretary
 
Posts: 31
Founded: Dec 18, 2017
Democratic Socialists

Postby Townsvalley » Thu Jan 24, 2019 2:11 am

Agadar wrote:Version 2.0.0 has been released for public testing. It depends on Java 11 (previous version depended on Java 8 ). Happy telegramming!

bugs
1.it doesn't run. the cmd just flashes. and then closes. while the 1.6.0 version runs smoothly.

Question:
The telegrammer 1.6.0 says QUED for "nation"
does that mean the telegram has been sent?
Last edited by Townsvalley on Thu Jan 24, 2019 4:15 am, edited 1 time in total.
✪ WORLD ASSEMBLY DELEGATE // MAP CARTOGRAPHER
Council of Islamic States
Awarded: The Most Illustrious and Exalted Order of the Council of Islamic States
&
Order of Al-Idrisi

User avatar
Agadar
Powerbroker
 
Posts: 7754
Founded: Dec 06, 2009
Psychotic Dictatorship

Postby Agadar » Fri Jan 25, 2019 3:19 pm

Townsvalley wrote:
Agadar wrote:Version 2.0.0 has been released for public testing. It depends on Java 11 (previous version depended on Java 8 ). Happy telegramming!

bugs
1.it doesn't run. the cmd just flashes. and then closes. while the 1.6.0 version runs smoothly.

Question:
The telegrammer 1.6.0 says QUED for "nation"
does that mean the telegram has been sent?


Is your Java version 11?

As for your question: no, it means the telegram has been queued. As with sending telegrams using stamps, this means the telegram will likely be sent soon, but it is no guarantee.
Proud resident of The Western Isles, the #1 role-playing region!
Developer of Telegrammer, NS API Java Wrapper, and more!

User avatar
Townsvalley
Secretary
 
Posts: 31
Founded: Dec 18, 2017
Democratic Socialists

Postby Townsvalley » Sat Jan 26, 2019 1:24 pm

Agadar wrote:
Townsvalley wrote:bugs
1.it doesn't run. the cmd just flashes. and then closes. while the 1.6.0 version runs smoothly.

Question:
The telegrammer 1.6.0 says QUED for "nation"
does that mean the telegram has been sent?


Is your Java version 11?

As for your question: no, it means the telegram has been queued. As with sending telegrams using stamps, this means the telegram will likely be sent soon, but it is no guarantee.

ok got it running
✪ WORLD ASSEMBLY DELEGATE // MAP CARTOGRAPHER
Council of Islamic States
Awarded: The Most Illustrious and Exalted Order of the Council of Islamic States
&
Order of Al-Idrisi

Previous

Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Bitheia, Galiantus III

Advertisement

Remove ads