Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Error "ERR-INVALID-SESSION: Session key is not present" thrown with valid API token #4

Open
jpgamaral opened this issue Mar 28, 2017 · 3 comments · May be fixed by #5
Open

Error "ERR-INVALID-SESSION: Session key is not present" thrown with valid API token #4

jpgamaral opened this issue Mar 28, 2017 · 3 comments · May be fixed by #5
Assignees
Labels

Comments

@jpgamaral
Copy link

Hello,

I am sometimes getting the error

ERR-INVALID-SESSION: Session key is not present.

While using the Maniphest endpoint, even though I am using a valid API token and I am able to manipulate Phabricator tasks other times.

What could be the problem? Session timeout?

Thanks in advance!

Nice project! 👍

@Zolli Zolli self-assigned this Mar 29, 2017
@Zolli Zolli added the question label Mar 29, 2017
@Zolli
Copy link
Owner

Zolli commented Mar 29, 2017

Okay, I dig into phabricator code.

When you give this warning the conduit assumes that you are using session based authentication. This is not true, because this client use token based authentication instead of session based.

Lokk this section at Phabricator code: https://github.com/phacility/phabricator/blob/c71bb0550c5d42a0fc3c801b9de70fbd1aa7fe96/src/applications/conduit/controller/PhabricatorConduitAPIController.php#L425-L427

Probably is this a bug in Phabricator. Can you give a ticket for the team about it?

@jpgamaral
Copy link
Author

Thank you @Zolli
I will.

@yangboz
Copy link

yangboz commented Mar 23, 2018

Any workaround?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants