Hi @Luis
I decoded your error message and found that you are using ",
" sign to separate permissions, which may be the cause of the problem. You should separate permissions with spaces, like this:
scope=Files.Read Files.Read.All Files.ReadWrite offline_access Files.ReadWrite.All Files.ReadWrite.AppFolder Files.ReadWrite.Selected User.Read
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.