I've just purchased my developer account.
I was using this API (http://docs.weaved.com/docs) until access was rejected. So I figured it out that I needed an account upgrade.
Now, with the new API KEY I'm getting this error:
{ status: 'false',
reason: '[0199] There is no row at position 0.' }
{"status":"false","reason":"api token missing"}
I'm using it this way:
var API_URL = 'https://api.weaved.com/v22/api/';
var API_KEY = 'XXXX(some freaking long key displayed in the account's API section)XXXX';
request({
url: API_URL + 'user/login/' + credentials.username + '/' + credentials.password
,
method: 'GET',
headers: {
'apikey': API_KEY
})
With the old API KEY I don't get this error.
How should I do it correctly?
Thank you