milanboruvka opened a new issue, #8550:
URL: https://github.com/apache/incubator-devlake/issues/8550

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   DevLake version v1.0.3-beta3@e474b4e
   
   I am getting 403 error when collecting data from self-hosted Gitlab. 
   User having this Token is Owner of the mentioned Gitlab project.
   Token has api, read_api scope.
   
   Still data collection ends up with error 403 Forbidden 
   
   Gitlab Project has feature Environments turned OFF in Visibility, project 
features, permissions under Project Settings.
   
   The last error was: Http DoAsync error calling [method:GET 
path:projects/52/deployments query:map[order_by:[updated_at] page:[1] 
per_page:[100] sort:[asc]
   
   I tried to turn off DORA metrics, but no difference.
   
   `/app/server/services/task.go:187 | runtime.goexit | 
/usr/local/go/src/runtime/asm_amd64.s:1598 Wraps: (6) Retry exceeded 3 times 
calling projects/52/deployments. The last error was: Http DoAsync error calling 
[method:GET path:projects/52/deployments query:map[order_by:[updated_at] 
page:[1] per_page:[100] sort:[asc] updated_after:[2025-02-11T00:00:00Z] 
updated_before:[2025-08-22T01:00:46Z] with_stats:[true]]]. Response: 
{"message":"403 Forbidden"} (403) Error types: (1) *withstack.withStack (2) 
*errutil.withPrefix (3) *withstack.withStack (4) *errutil.withPrefix (5) 
*withstack.withStack (6) *errutil.leafError`
   
   ### What do you expect to happen
   
   Data collection pipeline finishes succesfully.
   
   ### How to reproduce
   
   Self-hosted Gitlab instance, user token with api, read_api.
   Gitlab Project has feature Environments turned OFF in Visibility, project 
features, permissions under Project Settings.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v1.0.3-beta3@e474b4e
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to