TailorDev / crick

📊 Crick is a backend for the Watson time-tracker.
https://app.crick.io/
MIT License
229 stars 16 forks source link

Syncing with Crick - "User not found" #110

Open peterdutton opened 6 years ago

peterdutton commented 6 years ago

Hi,

I've set up an account with Crick and have set the backend.url and backend.token values as the Crick setup guide suggests. However when I try to initiate the sync I get the following:

$ watson sync Error: An error occurred with the remote server: {'detail': 'User not found', 'title': 'Unauthorized'}

Any idea how I might go about debugging this further? The config seems to have been applied correctly from what I can tell.

Thanks

mr-tabasco commented 6 years ago

I had the same problem happen to me not an hour ago. ran through the setup steps again but used the token under 'My API Token'. I didn't verify this, but it seems the token initially provided is faulty.

I wonder if this happens to everyone. Anyways hope this was helpful.

peterdutton commented 6 years ago

Thanks for the info - I just revisited the setup page and sure enough the API token is now different to the one that was shown when I went through the initial setup. Updated my config and now sync is working perfectly.

jmaupetit commented 6 years ago

I think Auth0 changed things few months ago. It could be related. @willdurand WDYT?

raphaelfournier commented 6 years ago

I confirm the bug and the solution: the first token is not working. I closed the tab, came back and got a new token, which now works.