Inara API

More about Inara API is on the API page, general dev guidelines are here and more detailed documentation about the events and data format here.

Just a note for tool authors using Inara API - please ensure your apps are doing  TWO requests per minute AT MAXIMUM. As I have discovered, many users are using multiple apps at once (nothing wrong with that), but are also updating their profiles from all of the applications at once, which is causing quite serious overhead. For such reason, I have needed to make API requests limits much tighter. For bots and other similar non-demanding apps are requests rates set same as before. If do you need another requests rate limit, please send me a PM.

Inara API update for Odyssey:
  • The header property isDeveloped was renamed to less confusing isBeingDeveloped. You don't need to change anything on your end though, the old property will still work.
  • A new event addCommanderTravelLand for commanders landing on the celestial body was added (should be triggered at journal's Touchdown, DropShipDeploy and similar).
  • The events addCommanderTravelCarrierJump, addCommanderTravelDock, addCommanderTravelFSDJump and setCommanderTravelLocation now contain optional properties for the star system coordinates, celestial body and celestial body coordinates. It's not required to set, it may however help to further precise commander's location when the star system is not in the database, etc.
  • The events addCommanderTravelDock, addCommanderTravelFSDJump and addCommanderTravelLand are now having boolean properties isTaxiShuttle and isTaxiDropship for travelling with Apex or Frontline Solutions ships.
  • New events setCommanderInventory, resetCommanderInventory, setCommanderInventoryItem, addCommanderInventoryItem and delCommanderInventoryItem added. Those are supposed for handling the new Odyssey events like ShipLockerMaterials and similar, you can however use it also for the existing engineering materials or ship cargo instead of the existing dedicated events (but you do not need to, they are not going anywhere).
  • New events setCommanderSuitLoadout, updateCommanderSuitLoadout and delCommanderSuitLoadout for the suit loadouts added.
20 Nov 2020, 9:51pm
Oak7603I have a PS4 elite account I have had since it was released and an Inara account for it (CMDR Oak7603). I have just got the free program from Epic. When I try to link this new Inara account (CMDR BENOAK) to the new epic account I get:

Your access/refresh tokens expired or there is a new authentication required by Frontier's service. Please perform a new authentication.
[httpCode: 400, fetchCode: 0]

When I reauthenticate or unlink/relink I get the same message.

Any ideas?

Hello, it seems the Frontier account linked for BenOak has no product/game assigned in there, thus it doesn't work. Was it correctly linked from Epic to Frontier account in the game launcher or something like that?
21 Nov 2020, 5:02am
Thanks Artie. I have sent a support ticket to them to see what's happened.
24 Nov 2020, 7:28am
I am having the same issue as BenOak:
Your access/refresh tokens expired or there is a new authentication required by Frontier's service. Please perform a new authentication.
[httpCode: 400, fetchCode: 0]


I also use the Epic version and I linked my Epic and Frontier account on Thursday evening. The Inara-sync worked until Sunday evening. I played yesterday, but I am no longer getting updates in Inara. When trying to manually update, I get redirected to the Frontier login page, but after filling in my login details I get back to the Inara-site where the same error is shown.

I checked on the Frontier account pages and I see no mention of a linked key. However their FAQ states this:
Elite Dangerous licenses purchased from the Epic Games Store are non-key.
They will not exist on your Frontier account, even when linked.
Your link to Epic will not be displayed under 'third-party accounts' on the Frontier Store


So the Epic link does not show up in your account This is maybe the reason why you don't see a product or game assigned to the Frontier account. However my Epic and Frontier account were linked, else I wouldn't be able to start the game.

What can be the cause why it stopped working?
24 Nov 2020, 1:42pm
Titus VisitusI am having the same issue as BenOak:
Your access/refresh tokens expired or there is a new authentication required by Frontier's service. Please perform a new authentication.
[httpCode: 400, fetchCode: 0]


I also use the Epic version and I linked my Epic and Frontier account on Thursday evening. The Inara-sync worked until Sunday evening. I played yesterday, but I am no longer getting updates in Inara. When trying to manually update, I get redirected to the Frontier login page, but after filling in my login details I get back to the Inara-site where the same error is shown.
....

What can be the cause why it stopped working?

Your problem seems to be a little bit different. By the data I see it seems to be affected by the similar problem as new EGS commanders and I suppose it will fix itself in a couple of days, so please try again later. In your case, the product is listed in your profile and it's just some kind of error with OAuth access tokens on their cAPI server (where the game data are fetched from). However, I've seen another account that had no product listed yesterday, but the updates were working fine for it (the game journals were fetched). No idea what is going on, but something seems to be messy. Either way, as mentioned, please give it a few days and let's see...
25 Nov 2020, 10:53pm
Just to let you know it works again.
Your commander profile and data were updated successfully!
It was a matter of patience
26 Nov 2020, 12:26pm
same here,
I use a free account from epic store
the inara app seems to got authorizations in the frontier portal but here there is the same error msg
Your access/refresh tokens expired or there is a new authentication required by Frontier's service. Please perform a new authentication.
[httpCode: 400, fetchCode: 0]
26 Nov 2020, 12:43pm
Titus VisitusJust to let you know it works again.
Your commander profile and data were updated successfully!
It was a matter of patience

Thanks for the update.

Moulaxsame here,
I use a free account from epic store
the inara app seems to got authorizations in the frontier portal but here there is the same error msg
Your access/refresh tokens expired or there is a new authentication required by Frontier's service. Please perform a new authentication.
[httpCode: 400, fetchCode: 0]

As the other cases, please give it a few days. I suppose it will start to work later (there is currently no other workaround for this Frontier's issue).
28 Nov 2020, 12:28pm
Guys, I'm getting this error in EDD:
INARA Reports: Error to request setCommanderCredits {"eventName":"setCommanderCredits",
"eventTimestamp":"2020-11-27T21:29:38Z","eventData":{"commanderCredits":-73081403}} with The values cannot be negative.


I see I have negative value credits on my account's log and I see it's because I don't see in the log that I have completed about 4 missions and then I bought upgrades that's why I'm in negative, but what to do now?
28 Nov 2020, 12:38pm
Interesting, it's the first time I see a negative number in the credits (Inara is not allowing these, thus the error thrown). From the situation you described it seems like some bug in the game that allowed you to buy something much more expensive that your credits limit, as -73 millions is quite something and even 4 missions completed may not cover it. Do you can send me the journal file from that day to elite@inara.cz, please? I will take a look what was going on.

Also, if it was just some "hiccup" during the session due missing events, I guess it should get corrected at the next session start, so it may worth a try.


Last edit: 28 Nov 2020, 12:44pm
28 Nov 2020, 1:08pm
Artie: These missions were all around 17-25m each, so ye, I had over 120m. And after that, I bought something and about 20m left. But now it counts - 20m I had before minus all I bought = -73m :-|

Sent.
28 Nov 2020, 1:47pm
Thanks. It seems something was going on with missions in the journal in general - there aren't even the records that any mission was accepted (or ongoing). But, as the game data looks alright otherwise (as I see in your recent updates), we can probably just ignore it for now as it may be just some Frontier's temporal issue. Let's see if it will be happening again.
30 Nov 2020, 10:56am
Hi Artie, just wondering if we'll at some point be able to add an image to the Fleet Carrier section?

Cheers,
Obi
04 Dec 2020, 10:29am
What does it mean when looking at my Commander page that my credits/assets value is verified?
04 Dec 2020, 11:27am
Dan ForeverWhat does it mean when looking at my Commander page that my credits/assets value is verified?

It means it was not entered by user, so it's a genuine information.
05 Dec 2020, 10:30am
Artie
Dan ForeverWhat does it mean when looking at my Commander page that my credits/assets value is verified?


It means it was not entered by user, so it's a genuine information.


Ah ok thanks for the answer Artie , so my next question is, considering my information is only entered in by EDMC (and not manually), why aren't all of my entries "verified"?

Post a reply

You must be signed in to post here.
Inara API is... well... see sticky post for the details.