Unable to start a new build: The provided authorization grant is invalid, expired, revoke

I get this question a lot ,I don’t know how to solve it ,Ask a professional to take a look

Unable to start a new build: The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.

Hi @chengfupingufo, can you help me providing further details to help you resolve the blocker?

  1. Can you tell me the complete scenario or use-case you are working on?
  2. Have you used Drone Build in the past for any other use-case?

Thanks!

the case occur in active Repository or launch a new-build

I use drone with gitlab to work , drone works sometimes ok or sometiles fail , most reason is the auth 。but I’ve already set the permissions

{“admin”:false,“error”:“The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.”,“level”:“warning”,“msg”:“api: cannot sync repository permissions”,“name”:“scenic_user”,“namespace”:“shanxi_scenic”,“read”:true,“request-id”:“2IGGRfFIDbCV3ZpT919g1FUvdOn”,“time”:“2022-11-30T09:28:19Z”,“user.admin”:true,“user.login”:“root”,“write”:false}
{“admin”:false,“error”:“The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.”,“level”:“warning”,“msg”:“api: cannot sync repository permissions”,“name”:“scenic_device”,“namespace”:“shanxi_scenic”,“read”:true,“request-id”:“2IGGeo3vXBNwRe4G4VfBB90NQ9n”,“time”:“2022-11-30T09:30:04Z”,“user.admin”:true,“user.login”:“root”,“write”:false}
{“error”:“The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.”,“level”:“warning”,“login”:“root”,“msg”:“syncer: cannot get remote repository list”,“time”:“2022-11-30T09:33:06Z”}