NATION

PASSWORD

Client Not Registered For API

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Duechland
Political Columnist
 
Posts: 2
Founded: May 11, 2018
New York Times Democracy

Client Not Registered For API

Postby Duechland » Mon Aug 13, 2018 9:15 am

Hi. I use API for recruitment, and I have been for some time. It always worked for me and did its job. I recently went on a family trip for a couple weeks, and when I got back, API wasn't working. On my usual site, (nstg-web) whenever I tried to send a telegram, It would come up saying I wasn't registered for API, error code 403. I tried sending it directly from the address given when I received the telegram and secret key, but the same thing happened. It just took me to the error page. Is this a bug, or have I just done something wrong in the process?
Thank you


error: { [Error: Request failed: API returned HTTP response code 403]
responseMetadata:
{ _readableState:
{ objectMode: false,
highWaterMark: 16384,
buffer: [Object],
length: 0,
pipes: null,
pipesCount: 0,
flowing: true,
ended: true,
endEmitted: true,
reading: false,
sync: true,
needReadable: false,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
destroyed: false,
defaultEncoding: 'utf8',
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null },
readable: false,
_events: { end: [Object], error: [Function], data: [Function] },
_maxListeners: undefined,
_mode: 'fetch',
headers: { 'content-type': 'text/html; charset=utf-8' },
rawHeaders: [ 'content-type', 'text/html; charset=utf-8' ],
trailers: {},
rawTrailers: [],
_fetchResponse: {},
url: 'https://www.nationstates.net/cgi-bin/api.cgi?userAgent=node-nsapi%200.1.15%20(maintained%20by%20Auralia%2C%20currently%20used%20by%20%22nstg-web%20(maintained%20by%20Auralia%2C%20currently%20used%20by%20%22Duechland%22)%22)&a=sendTG&client=30127318&tgid=22324733&key=5966fbbd590a&to=niesland',
statusCode: 403,
statusMessage: '' },
responseText: '\n
Client Not Registered For API
\n
Error: 403 Client Not Registered For API\n

The NationStates API Documentation\n' }

User avatar
Phydios
Minister
 
Posts: 2571
Founded: Dec 06, 2014
Left-Leaning College State

Postby Phydios » Mon Aug 13, 2018 11:09 am

Sounds like you missed the ruckus a while back.

viewtopic.php?f=15&t=447384
If you claim to be religious but don’t control your tongue, you are fooling yourself, and your religion is worthless. Pure and genuine religion in the sight of God the Father means caring for orphans and widows in their distress and refusing to let the world corrupt you. | Not everyone who calls out to me, ‘Lord! Lord!’ will enter the Kingdom of Heaven. Only those who actually do the will of my Father in heaven will enter. On judgment day many will say to me, ‘Lord! Lord! We prophesied in your name and cast out demons in your name and performed many miracles in your name.’ But I will reply, ‘I never knew you. Get away from me, you who break God’s laws.’
James 1:26-27, Matthew 7:21-23

User avatar
Duechland
Political Columnist
 
Posts: 2
Founded: May 11, 2018
New York Times Democracy

Postby Duechland » Wed Aug 15, 2018 8:29 am

Phydios wrote:Sounds like you missed the ruckus a while back.

viewtopic.php?f=15&t=447384

Thanks! :)


Return to Technical

Who is online

Users browsing this forum: Card Cleaver, One for the Gipper, Outer Sparta, Vive la Resistance

Advertisement

Remove ads