NATION

PASSWORD

"Not authorized to send this telegram template"

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Verate
Lobbyist
 
Posts: 13
Founded: Jun 22, 2020
Ex-Nation

"Not authorized to send this telegram template"

Postby Verate » Sun Feb 14, 2021 1:08 pm

I'm sending telegrams that need to be marked as recruiting for an organization. I created a template but it won't let me send it. I keep getting a message saying I'm not authorized to send it.

User avatar
Atheris
Negotiator
 
Posts: 5809
Founded: Oct 05, 2018
Left-Leaning College State

Postby Atheris » Sun Feb 14, 2021 1:10 pm

Haven't made a recruitment telegram/template in a while, but do you have an API key?
Kannap wrote:It is I, the stranger in the night who cuts the power lines with hedge clippers
Valentine Z wrote:**a m b i e n c e**
Kick cancer's ass for me, Owlograd!
hmm, today i will let 'er rip
The self-proclaimed Resident Shitposter of NSG.
Proudly sex-repulsed ace and bisensual aro. Cis he/him. Trans ally. ADHD.
"To comment is human, to preview, divine." - Godot
Orthodox Preterist non-denominational Christian Universalist.
I write fanfiction. Fuck you if you judge me. (Currently writing: untitled - What if Jessie survived Platefall?)
Pirate Politics are fucking awesome.

User avatar
Verate
Lobbyist
 
Posts: 13
Founded: Jun 22, 2020
Ex-Nation

Postby Verate » Sun Feb 14, 2021 1:11 pm

Atheris wrote:Haven't made a recruitment telegram/template in a while, but do you have an API key?

I have an API key for my region recruitment, but this is different. This is the kind you send manually by copy-pasting. No API involved.

User avatar
Atheris
Negotiator
 
Posts: 5809
Founded: Oct 05, 2018
Left-Leaning College State

Postby Atheris » Sun Feb 14, 2021 1:13 pm

Verate wrote:
Atheris wrote:Haven't made a recruitment telegram/template in a while, but do you have an API key?

I have an API key for my region recruitment, but this is different. This is the kind you send manually by copy-pasting. No API involved.

Oh. Huh. I dunno, then. Do you have all the requirements for it?
Kannap wrote:It is I, the stranger in the night who cuts the power lines with hedge clippers
Valentine Z wrote:**a m b i e n c e**
Kick cancer's ass for me, Owlograd!
hmm, today i will let 'er rip
The self-proclaimed Resident Shitposter of NSG.
Proudly sex-repulsed ace and bisensual aro. Cis he/him. Trans ally. ADHD.
"To comment is human, to preview, divine." - Godot
Orthodox Preterist non-denominational Christian Universalist.
I write fanfiction. Fuck you if you judge me. (Currently writing: untitled - What if Jessie survived Platefall?)
Pirate Politics are fucking awesome.

User avatar
Verate
Lobbyist
 
Posts: 13
Founded: Jun 22, 2020
Ex-Nation

Postby Verate » Sun Feb 14, 2021 1:18 pm

Atheris wrote:
Verate wrote:I have an API key for my region recruitment, but this is different. This is the kind you send manually by copy-pasting. No API involved.

Oh. Huh. I dunno, then. Do you have all the requirements for it?


I should. I can still send my old regional recruitment templates just fine.

I think it might have something to do with my template being marked for an organization rather than a region. That's the only difference between the templates I'm using.

User avatar
Unibot III
Negotiator
 
Posts: 6099
Founded: Mar 11, 2011
Inoffensive Centrist Democracy

Postby Unibot III » Sun Feb 14, 2021 3:29 pm

Verate wrote:I'm sending telegrams that need to be marked as recruiting for an organization. I created a template but it won't let me send it. I keep getting a message saying I'm not authorized to send it.


This has been an ongoing problem never addressed. Over the past few years, both I and August have both reported it previously and never received any response about it??

I’m not sure the Organization template has been a functional feature for years.
Last edited by Unibot III on Sun Feb 14, 2021 3:30 pm, edited 2 times in total.
[violet] wrote:I mean this in the best possible way,
but Unibot is not a typical NS player.
Milograd wrote:You're a caring, resolute lunatic
with the best of intentions.
Org. Join Date: 25/05/2008 | Former Delegate of TRR | Gameplay Alignment: -18 / -13
Unibotian Factbook // Collected works // The Gameplay Alignment Test //
Proudly Authored 9 GA Res., 14 SC Res. // Commended by SC#78

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
✯ Duty is Eternal, Justice is Imminent: UDL

User avatar
Sedgistan
Senior Issues Moderator
 
Posts: 29675
Founded: Oct 20, 2006
Anarchy

Postby Sedgistan » Mon Feb 15, 2021 4:05 am

I've pinged the admins on our staff Discord channel re. this. I'm aware it's been reported previously.

User avatar
The Python
Chargé d'Affaires
 
Posts: 398
Founded: Jul 24, 2020
Civil Rights Lovefest

Postby The Python » Thu Feb 18, 2021 3:50 pm

I got the same problem too. When you attempt to use API recruitment for this, it will also give you a 403 error.
Last edited by The Python on Thu Feb 18, 2021 3:53 pm, edited 1 time in total.
Card Farmer and defender. Nation mostly represents RL views. AKA Apatosaurus. Proud member of the Poop Squad.
For: Universal healthcare, UBI, Gun Control, Democratic Socialism, Pacifism, Human and animal rights, Political Freedom etc.
Against: Fascism, Authoritarianism, One-party states, Racism, Militarism, War, Donald Trump, Nationalism, Conservatism, Animal abuse, Slaughterhouses etc.
Political compass 9Axes
8Values
Time-zone: GMT+12/NZST
fenda nations always deserve banjection and also you dont taste good - Evil Cub
I wish i could be quoted in a forum sig v_v - Alfonzo
Gameplay is all about cherry pikcing - Miravana
anyone more than double python's age is old - Altmoras
Positions

User avatar
[violet]
Site Admin
 
Posts: 14851
Founded: Antiquity

Postby [violet] » Tue Mar 09, 2021 4:54 pm

Sorry, can you post a complete set of steps for me to reproduce the problem? I'm unclear on exactly who's doing what.

User avatar
The Python
Chargé d'Affaires
 
Posts: 398
Founded: Jul 24, 2020
Civil Rights Lovefest

Postby The Python » Tue Mar 09, 2021 5:56 pm

[violet] wrote:Sorry, can you post a complete set of steps for me to reproduce the problem? I'm unclear on exactly who's doing what.

First create a telegram template, works the same with API and non-API templates.
Then attempt to send it to anybody, through the API if using API template or manually if non-API
Card Farmer and defender. Nation mostly represents RL views. AKA Apatosaurus. Proud member of the Poop Squad.
For: Universal healthcare, UBI, Gun Control, Democratic Socialism, Pacifism, Human and animal rights, Political Freedom etc.
Against: Fascism, Authoritarianism, One-party states, Racism, Militarism, War, Donald Trump, Nationalism, Conservatism, Animal abuse, Slaughterhouses etc.
Political compass 9Axes
8Values
Time-zone: GMT+12/NZST
fenda nations always deserve banjection and also you dont taste good - Evil Cub
I wish i could be quoted in a forum sig v_v - Alfonzo
Gameplay is all about cherry pikcing - Miravana
anyone more than double python's age is old - Altmoras
Positions

User avatar
[violet]
Site Admin
 
Posts: 14851
Founded: Antiquity

Postby [violet] » Wed Mar 10, 2021 9:27 pm

Should be fixed now.

User avatar
The Python
Chargé d'Affaires
 
Posts: 398
Founded: Jul 24, 2020
Civil Rights Lovefest

Postby The Python » Wed Mar 10, 2021 11:21 pm

[violet] wrote:Should be fixed now.

Just tested, and it works! Thanks Violet!
Card Farmer and defender. Nation mostly represents RL views. AKA Apatosaurus. Proud member of the Poop Squad.
For: Universal healthcare, UBI, Gun Control, Democratic Socialism, Pacifism, Human and animal rights, Political Freedom etc.
Against: Fascism, Authoritarianism, One-party states, Racism, Militarism, War, Donald Trump, Nationalism, Conservatism, Animal abuse, Slaughterhouses etc.
Political compass 9Axes
8Values
Time-zone: GMT+12/NZST
fenda nations always deserve banjection and also you dont taste good - Evil Cub
I wish i could be quoted in a forum sig v_v - Alfonzo
Gameplay is all about cherry pikcing - Miravana
anyone more than double python's age is old - Altmoras
Positions

User avatar
The Python
Chargé d'Affaires
 
Posts: 398
Founded: Jul 24, 2020
Civil Rights Lovefest

Postby The Python » Fri Mar 12, 2021 1:58 pm

Bug: It works for non-API recruitment (thanks), but I get error 403 when I want to send a non-regional recruitment telegram through API; I GHR'd because I assumed I needed a non-regional recruitment client key, but mods said that you should can use a regional recruitment key.
Card Farmer and defender. Nation mostly represents RL views. AKA Apatosaurus. Proud member of the Poop Squad.
For: Universal healthcare, UBI, Gun Control, Democratic Socialism, Pacifism, Human and animal rights, Political Freedom etc.
Against: Fascism, Authoritarianism, One-party states, Racism, Militarism, War, Donald Trump, Nationalism, Conservatism, Animal abuse, Slaughterhouses etc.
Political compass 9Axes
8Values
Time-zone: GMT+12/NZST
fenda nations always deserve banjection and also you dont taste good - Evil Cub
I wish i could be quoted in a forum sig v_v - Alfonzo
Gameplay is all about cherry pikcing - Miravana
anyone more than double python's age is old - Altmoras
Positions

User avatar
[violet]
Site Admin
 
Posts: 14851
Founded: Antiquity

Postby [violet] » Sat Mar 13, 2021 8:33 pm

The Python wrote:Bug: It works for non-API recruitment (thanks), but I get error 403 when I want to send a non-regional recruitment telegram through API; I GHR'd because I assumed I needed a non-regional recruitment client key, but mods said that you should can use a regional recruitment key.

Which 403 is it? I think it will be one of these:

403 Attempt to use Region API Key for Non-Regional Recruitment
403 Region mismatch between Telegram and Client API Key

User avatar
The Python
Chargé d'Affaires
 
Posts: 398
Founded: Jul 24, 2020
Civil Rights Lovefest

Postby The Python » Sun Mar 14, 2021 11:49 am

[violet] wrote:
The Python wrote:Bug: It works for non-API recruitment (thanks), but I get error 403 when I want to send a non-regional recruitment telegram through API; I GHR'd because I assumed I needed a non-regional recruitment client key, but mods said that you should can use a regional recruitment key.

Which 403 is it? I think it will be one of these:

403 Attempt to use Region API Key for Non-Regional Recruitment
403 Region mismatch between Telegram and Client API Key


403 Attempt to use Region API Key for Non-Regional Recruitment
Card Farmer and defender. Nation mostly represents RL views. AKA Apatosaurus. Proud member of the Poop Squad.
For: Universal healthcare, UBI, Gun Control, Democratic Socialism, Pacifism, Human and animal rights, Political Freedom etc.
Against: Fascism, Authoritarianism, One-party states, Racism, Militarism, War, Donald Trump, Nationalism, Conservatism, Animal abuse, Slaughterhouses etc.
Political compass 9Axes
8Values
Time-zone: GMT+12/NZST
fenda nations always deserve banjection and also you dont taste good - Evil Cub
I wish i could be quoted in a forum sig v_v - Alfonzo
Gameplay is all about cherry pikcing - Miravana
anyone more than double python's age is old - Altmoras
Positions

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

Postby Frisbeeteria » Sun Mar 14, 2021 4:18 pm

The Python wrote: I GHR'd because I assumed I needed a non-regional recruitment client key, but mods said that you should can use a regional recruitment key.

More accurately, we have no process for granting keys other than regional keys. If there needs to be a process for Non-Regional Recruitment or other API use, that needs to be added to mod tools.

User avatar
The Python
Chargé d'Affaires
 
Posts: 398
Founded: Jul 24, 2020
Civil Rights Lovefest

Postby The Python » Wed Mar 17, 2021 3:10 pm

/bump because it's now on the second page
Card Farmer and defender. Nation mostly represents RL views. AKA Apatosaurus. Proud member of the Poop Squad.
For: Universal healthcare, UBI, Gun Control, Democratic Socialism, Pacifism, Human and animal rights, Political Freedom etc.
Against: Fascism, Authoritarianism, One-party states, Racism, Militarism, War, Donald Trump, Nationalism, Conservatism, Animal abuse, Slaughterhouses etc.
Political compass 9Axes
8Values
Time-zone: GMT+12/NZST
fenda nations always deserve banjection and also you dont taste good - Evil Cub
I wish i could be quoted in a forum sig v_v - Alfonzo
Gameplay is all about cherry pikcing - Miravana
anyone more than double python's age is old - Altmoras
Positions

User avatar
[violet]
Site Admin
 
Posts: 14851
Founded: Antiquity

Postby [violet] » Wed Mar 17, 2021 7:15 pm

Hmm okay. So originally the idea was that there would be regional API keys for regional recruiting, and you should use a non-regional API key for non-region recruiting. But if we are issuing region-based keys for everything, I will remove the check.

User avatar
The Python
Chargé d'Affaires
 
Posts: 398
Founded: Jul 24, 2020
Civil Rights Lovefest

Postby The Python » Thu Mar 18, 2021 3:46 pm

[violet] wrote:Hmm okay. So originally the idea was that there would be regional API keys for regional recruiting, and you should use a non-regional API key for non-region recruiting. But if we are issuing region-based keys for everything, I will remove the check.

It's not giving that 403 error anymore, but now it's started with a different 403 error (403 Region no longer exists.).

UPDATE: checked if it was related to the key, so I sent a regional recruitment API tg to myself, and I got 200, so it has to do with the non-regional recruitment problem

EDIT: Not a mod or anythin, but in my (admittedly unqualified) opinion, the problem could be that it checks if the region exists but because organisational has no region, maybe there needs to be something so that it doesn't do the check for organisational recruitment
Last edited by The Python on Thu Mar 18, 2021 4:00 pm, edited 3 times in total.
Card Farmer and defender. Nation mostly represents RL views. AKA Apatosaurus. Proud member of the Poop Squad.
For: Universal healthcare, UBI, Gun Control, Democratic Socialism, Pacifism, Human and animal rights, Political Freedom etc.
Against: Fascism, Authoritarianism, One-party states, Racism, Militarism, War, Donald Trump, Nationalism, Conservatism, Animal abuse, Slaughterhouses etc.
Political compass 9Axes
8Values
Time-zone: GMT+12/NZST
fenda nations always deserve banjection and also you dont taste good - Evil Cub
I wish i could be quoted in a forum sig v_v - Alfonzo
Gameplay is all about cherry pikcing - Miravana
anyone more than double python's age is old - Altmoras
Positions

User avatar
Vylixan
Attaché
 
Posts: 71
Founded: Mar 19, 2006
Corrupt Dictatorship

Postby Vylixan » Fri Mar 19, 2021 2:28 am

Related to this, when I looked into automating sending Nations TG's about cards I want to buy from them or their puppets, I also wondered what I should then use as region to request an API-key.
Since these are not recruitment TG's at all, and are only somewhat related to a region because at the moment it concernsl The Pacific cards, and it's not guaranteed it will stay that way.
People gave the advice to just use my puppet storage region, but that seemed disingenuous somehow.
I never got further then some research into this, but what would the advised method of automating the sending of TG's be when the purpose is not recruiting for a region?

To me, this seems to be close to what The Python is doing.

User avatar
The Python
Chargé d'Affaires
 
Posts: 398
Founded: Jul 24, 2020
Civil Rights Lovefest

Postby The Python » Fri Mar 19, 2021 11:35 am

Vylixan wrote:Related to this, when I looked into automating sending Nations TG's about cards I want to buy from them or their puppets, I also wondered what I should then use as region to request an API-key.
Since these are not recruitment TG's at all, and are only somewhat related to a region because at the moment it concernsl The Pacific cards, and it's not guaranteed it will stay that way.
People gave the advice to just use my puppet storage region, but that seemed disingenuous somehow.
I never got further then some research into this, but what would the advised method of automating the sending of TG's be when the purpose is not recruiting for a region?

To me, this seems to be close to what The Python is doing.

If you're automating telegrams that recruit to an organisation (usually off-site) then you would use non-regional recruitment. Templates for these can easily be used for manual recruitment (don't know about stamps but probably will also work) but is extremely buggy if you use the API.

You can also use the API or non-API to send telegrams that aren't recruitment, it even has a lower ratelimit.

You can send non-recruitment telegrams with a regional client key, it's only buggy when you try to send non-regional recruitment.
Last edited by The Python on Fri Mar 19, 2021 11:52 am, edited 1 time in total.
Card Farmer and defender. Nation mostly represents RL views. AKA Apatosaurus. Proud member of the Poop Squad.
For: Universal healthcare, UBI, Gun Control, Democratic Socialism, Pacifism, Human and animal rights, Political Freedom etc.
Against: Fascism, Authoritarianism, One-party states, Racism, Militarism, War, Donald Trump, Nationalism, Conservatism, Animal abuse, Slaughterhouses etc.
Political compass 9Axes
8Values
Time-zone: GMT+12/NZST
fenda nations always deserve banjection and also you dont taste good - Evil Cub
I wish i could be quoted in a forum sig v_v - Alfonzo
Gameplay is all about cherry pikcing - Miravana
anyone more than double python's age is old - Altmoras
Positions

User avatar
[violet]
Site Admin
 
Posts: 14851
Founded: Antiquity

Postby [violet] » Sun Mar 21, 2021 3:38 pm

Vylixan wrote:Related to this, when I looked into automating sending Nations TG's about cards I want to buy from them or their puppets, I also wondered what I should then use as region to request an API-key.
Since these are not recruitment TG's at all, and are only somewhat related to a region because at the moment it concernsl The Pacific cards, and it's not guaranteed it will stay that way.
People gave the advice to just use my puppet storage region, but that seemed disingenuous somehow.
I never got further then some research into this, but what would the advised method of automating the sending of TG's be when the purpose is not recruiting for a region?

To me, this seems to be close to what The Python is doing.

Yeah. When I created the system, the intent was that people would get a region-based API key for region recruiting, and a non-region-based API key for non-region-based recruiting. However, I understand that mods have found it simpler to require all API keys be region-based. So I think we should probably continue with that, and I will dismantle the old checks.

User avatar
The Python
Chargé d'Affaires
 
Posts: 398
Founded: Jul 24, 2020
Civil Rights Lovefest

Postby The Python » Sun Mar 21, 2021 5:17 pm

[violet] wrote:
Vylixan wrote:Related to this, when I looked into automating sending Nations TG's about cards I want to buy from them or their puppets, I also wondered what I should then use as region to request an API-key.
Since these are not recruitment TG's at all, and are only somewhat related to a region because at the moment it concernsl The Pacific cards, and it's not guaranteed it will stay that way.
People gave the advice to just use my puppet storage region, but that seemed disingenuous somehow.
I never got further then some research into this, but what would the advised method of automating the sending of TG's be when the purpose is not recruiting for a region?

To me, this seems to be close to what The Python is doing.

Yeah. When I created the system, the intent was that people would get a region-based API key for region recruiting, and a non-region-based API key for non-region-based recruiting. However, I understand that mods have found it simpler to require all API keys be region-based. So I think we should probably continue with that, and I will dismantle the old checks.

Hmm. I tried (again) and I'm still getting "403 Region No Longer Exists"
Card Farmer and defender. Nation mostly represents RL views. AKA Apatosaurus. Proud member of the Poop Squad.
For: Universal healthcare, UBI, Gun Control, Democratic Socialism, Pacifism, Human and animal rights, Political Freedom etc.
Against: Fascism, Authoritarianism, One-party states, Racism, Militarism, War, Donald Trump, Nationalism, Conservatism, Animal abuse, Slaughterhouses etc.
Political compass 9Axes
8Values
Time-zone: GMT+12/NZST
fenda nations always deserve banjection and also you dont taste good - Evil Cub
I wish i could be quoted in a forum sig v_v - Alfonzo
Gameplay is all about cherry pikcing - Miravana
anyone more than double python's age is old - Altmoras
Positions

User avatar
The Python
Chargé d'Affaires
 
Posts: 398
Founded: Jul 24, 2020
Civil Rights Lovefest

Postby The Python » Sun Mar 28, 2021 11:19 am

Bump?
Card Farmer and defender. Nation mostly represents RL views. AKA Apatosaurus. Proud member of the Poop Squad.
For: Universal healthcare, UBI, Gun Control, Democratic Socialism, Pacifism, Human and animal rights, Political Freedom etc.
Against: Fascism, Authoritarianism, One-party states, Racism, Militarism, War, Donald Trump, Nationalism, Conservatism, Animal abuse, Slaughterhouses etc.
Political compass 9Axes
8Values
Time-zone: GMT+12/NZST
fenda nations always deserve banjection and also you dont taste good - Evil Cub
I wish i could be quoted in a forum sig v_v - Alfonzo
Gameplay is all about cherry pikcing - Miravana
anyone more than double python's age is old - Altmoras
Positions

User avatar
The Python
Chargé d'Affaires
 
Posts: 398
Founded: Jul 24, 2020
Civil Rights Lovefest

Postby The Python » Wed Mar 31, 2021 4:07 pm

Bumpity bump
Card Farmer and defender. Nation mostly represents RL views. AKA Apatosaurus. Proud member of the Poop Squad.
For: Universal healthcare, UBI, Gun Control, Democratic Socialism, Pacifism, Human and animal rights, Political Freedom etc.
Against: Fascism, Authoritarianism, One-party states, Racism, Militarism, War, Donald Trump, Nationalism, Conservatism, Animal abuse, Slaughterhouses etc.
Political compass 9Axes
8Values
Time-zone: GMT+12/NZST
fenda nations always deserve banjection and also you dont taste good - Evil Cub
I wish i could be quoted in a forum sig v_v - Alfonzo
Gameplay is all about cherry pikcing - Miravana
anyone more than double python's age is old - Altmoras
Positions

Next

Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Hispathia, YouGetSomeRights

Advertisement

Remove ads