crick icon indicating copy to clipboard operation
crick copied to clipboard

Syncing with Crick - "User not found"

Open peterdutton opened this issue 6 years ago • 4 comments

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

peterdutton avatar Jun 04 '18 10:06 peterdutton

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.

mr-tabasco avatar Jun 10 '18 11:06 mr-tabasco

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.

peterdutton avatar Jun 12 '18 08:06 peterdutton

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

jmaupetit avatar Jun 12 '18 09:06 jmaupetit

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.

raphaelfournier avatar Jul 05 '18 14:07 raphaelfournier