How to use Peertube api

Iam trying to use peertube for uploading my videos .but while authenticating using curl it shows some error

“error”: “User ewtet does not have right 7 to access to /.”

how can i fix this and how to upload files
Thanks in advance


you just share the error. show us block

Follow what the error message says.
Is there any wrong key , name user , authorization id ( different from those registered in the API )

I cant understand what the error message says