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

   ### 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
   
   On a project with an existing github connection (such as #7503), adding an 
Azure DevOps connection to it gives a 400 error in the UI:
   
   
![image](https://github.com/apache/incubator-devlake/assets/15024405/2f4a51f5-4457-450c-b68b-54f992c22526)
   
   Inside lake microservice container, the error is the below:
   
   ```
   time="2024-05-24 12:40:03" level=error msg="HTTP 400 error\n\tcaused by: 
error patching the blueprint (400)\n\tWraps: (2)\n\tWraps: (3) fork/exec 
./run.sh: argument list too long\n\tWraps: (4) fork/exec ./run.sh\n\tWraps: (5) 
argument list too long\n\tError types: (1) *hintdetail.withDetail (2) 
*hintdetail.withDetail (3) *hintdetail.withDetail (4) *fs.PathError (5) 
syscall.Errno"
   [GIN] 2024/05/24 - 12:40:03 | 400 | 4.889660007s | 10.253.240.52 | PATCH 
"/blueprints/2"
   ```
   
   ### What do you expect to happen
   
   AzureDevops scopes are added to existing project.
   
   ### How to reproduce
   
   - Create a project
   - Successfully add data scopes from GitHub
   - Try to add Azure DevOps scopes
   
   ### Anything else
   
   Same environment where #7503 is happening.
   
   ### Version
   
   1.0.0-beta6
   
   ### Are you willing to submit PR?
   
   - [X] 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to