iMichka opened a new issue, #8407: URL: https://github.com/apache/incubator-devlake/issues/8407
### 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 I was doing some cleanup/setup in our connexions and hit an issue I added a Github repository to a connexion. Then removed that repository and deleted the connexion. I created a new connexion and wanted to add the repository in the "add data scope". This is triggering an error "invalid data row (400)" (looks like it's this line https://github.com/apache/incubator-devlake/blob/main/backend/helpers/pluginhelper/api/ds_scope_api_helper.go#L116-L118). See the screenshot (sorry I had to anonymize the repo names as this is internal company stuff I can't disclose): <img width="1005" alt="Image" src="https://github.com/user-attachments/assets/aecb3731-f7f3-4c40-bb35-855c969fbe67" /> There are other repositories I was able to add / move around with success, it's just this specific one. I am connected through a github app and this repo has the same permissions as the others. Is there any way I can help debug this further? Some extra logs? Maybe the deletion did not work well and there is some cruft remaining in the database (what should I look for?) ### What do you expect to happen Adding the repo should work as for the others Also a clearer error message would be welcome (is this a github issue? a database issue?) ### How to reproduce It's hard to tell. Adding/removing a datasource (and thus deleting the data), then adding it back might be a way to reproduce it. I can try to work on a way to "always" reproduce. ### Anything else I noticed the database we use was quite saturated at the moment the data source was removed / deleted (I'm using an AWS RDS t3.micro instance, it's a burstable instance and while removing multiple data sources it was really struggling: I propably hit a burst limit: so maybe my database content is slightly corrupted). But this is just a hypothesis, it's maybe something completely different that is broken/ ### Version v1.0.2-beta5 ### 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]
