Can not login after server migration & update

Hi,

I had PeerTube V6.3.3. Yesterday I moved it to another server with the same URL, and updated it according to the documents to V8.2.1. I run all the migration scripts in the specified versions to update database.

All the things was good, and I was able to login yesterday. But today I am not able to login. It shows : Invalid client: client is invalid

On the browser I have this error: https://example.com/api/v1/users/token with status 400.

I checked the database, and users are not blocked.

this is written example.com extenso or you did replace your site url with example.com ?

I replaced it with example.com.

I run : sudo chown -R peertube:users Peertube-v8.2.1/ & the problem is solved.