Hi, It’s all good. It should be working now!
I am not sure about the scopes needed for the API tho so I went away with the bare minimum. Could you give it another try? Many thanks On Sun 31 Aug 2025 at 18:45, Ahmad Khalifa <[email protected]> wrote: > Thanks a lot. > > No need to rush it, I don't mind waiting a bit. > > > On 31/08/2025 17:25, Aloïs Micard wrote: > > Hi, > > > > Nice catch. Looks like Gitlab forbid access token without expiration > > date nowadays. > > > > https://about.gitlab.com/blog/access-token-lifetime-limits/ <https:// > > about.gitlab.com/blog/access-token-lifetime-limits/> > > > > I’ll regenerate the token and restart the service. It should be fixed in > > ~2hrs. > > > > Cheers > > > > On Sun 31 Aug 2025 at 17:42, Ahmad Khalifa <[email protected] > > <mailto:[email protected]>> wrote: > > > > Hi, > > > > Trying to create a salsa repo for a recently ITP'd project. > > Few days ago, `dh-make-golang create-salsa-repo` worked fine, but > today > > it's complaining about an expired token. > > > > $ dh-make-golang create-salsa-project <PROJECT_NAME> > > 2025/08/31 16:23:07 unexpected HTTP status code: got 500, want 200 > > (response: CreateProject("<PROJECT_NAME>"): POST > > https://salsa.debian.org/api/v4/projects <https://salsa.debian.org/ > > api/v4/projects>: 401 {error: invalid_token}, > > {error_description: Token is expired. You can either do re- > > authorization > > or token refresh.}) > > > > It's an open endpoint, available to anonymous POST requests, so > > checking > > with curl, I still get the same response. > > > > Does anyone how to fix this api endpoint and reauthorise its salsa > > token? > > > > It's the api running here: > > https://pgt-api-server.debian.net/v1/createrepo <https://pgt-api- > > server.debian.net/v1/createrepo> > > > > > > -- > > Regards, > > Ahmad > > > > -- > Regards, > Ahmad > >
