Skip to content

Generated api token not valid after some hours #593

Open
@smart-clouds-09

Description

@smart-clouds-09

The tokens, which are generated with create_token.sh are not valid anymore after a time, in my case some hours.
I have been using the token for papermerge-cli to import docs. After a time papermerge-cli throws :

/usr/local/lib/python3.10/site-packages/pydantic/_migration.py:283: UserWarning: pydantic.generics:GenericModel has been moved to pydantic.BaseModel.
warnings.warn(f'{import_path} has been moved to {new_location}.')
Unauthorized

Is a new token generated, it works for a while

Info:

  • Papermerge Version 3.0.3

Metadata

Metadata

Assignees

Labels

3.0.3documentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions