bradyt / taskw-dart

Taskwarrior-inspired mobile todo app
82 stars 8 forks source link

TaskserverResponseException, code: 430, status: Access denied #12

Closed bradyt closed 3 years ago

bradyt commented 3 years ago

Issue extracted or broken out from https://github.com/bradyt/taskw-dart/issues/11.

User experiences the following error message:

TaskserverResponseException

response.header = {
  "client": "taskd 1.1.0",
  "code": "430",
  "status": "Access denied"
}
Screenshot_20210912-215645
bradyt commented 3 years ago

I've started notes on some known Taskserver issues at https://github.com/bradyt/taskw-dart/wiki/Taskserver-troubleshooting.

If CLI Taskwarrior receives this 430 error, you can see it's coded to respond with Sync failed. Either your credentials are incorrect, or your account doesn't exist on the Taskserver..

I think you'll find a similar message if you have access to the Taskserver logs. (I'm simply using taskd server --debug in a tmux session at the moment.)

One way to provoke this message, is by having incorrect credentials. Can you make sure that the credentials pulled from your .taskrc, match the credentials configured in your working clients?

That credentials information should probably be kept secret, so I'm just asking if you can confirm they match. I think you can also verify that there is a file $TASKDDATA/orgs/<org>/users/<key>/tx.data.

bradyt commented 3 years ago

I'm hoping they got it working.