# \[Gitlab to Gitea\] Pull requests import is okay, but no commit within, files leads to Error 500

**URL:** <https://forum.gitea.com/t/gitlab-to-gitea-pull-requests-import-is-okay-but-no-commit-within-files-leads-to-error-500/3100>\
**Category:** Install/Maintain/Configure\
**Created:** [March 24, 2021, 4:09pm UTC](https://forum.gitea.com/t/gitlab-to-gitea-pull-requests-import-is-okay-but-no-commit-within-files-leads-to-error-500/3100 "2021-03-24T16:09:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![99rgosse](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/99rgosse/32/1793_2.png) [@99rgosse](https://forum.gitea.com/u/99rgosse)\
**Post date:** [March 24, 2021, 4:09pm UTC](https://forum.gitea.com/t/gitlab-to-gitea-pull-requests-import-is-okay-but-no-commit-within-files-leads-to-error-500/3100/1 "2021-03-24T16:09:11Z")

</div>

Hello everyone  
I began migrating repositories from my self hosted Gitlab, and every features work great, thanks !

The only downside is when I migrate the Pull Requests, I can access commits only on open PR, the closed Pull Requests don’t have any commits within, see screenshot :

 ![2021_03_24_16_47_06_Window](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/2/209b25f6777af6c60445780c5641e619c33a6e0f.jpeg)

When clicking on files affected by Pull Request I got an Error 500  
Here’s the log :

> routers/repo/pull.go:659:ViewPullFiles() [E] GetCommit: object does not exist [id: , rel\_path:]

This is tried on Gitea 1.13.4 and 1.15.0+Dev

I would appreciate any help, or maybe even check if I can get this to work with small fixups (I’m only learning go)…  
Best regards  
Renaud

---

<div class="post-metadata">

**Author:** ![lunny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/lunny/32/4701_2.png) [@lunny](https://forum.gitea.com/u/lunny)\
**Post date:** [March 25, 2021, 4:58am UTC](https://forum.gitea.com/t/gitlab-to-gitea-pull-requests-import-is-okay-but-no-commit-within-files-leads-to-error-500/3100/2 "2021-03-25T04:58:26Z")

</div>

This should be a bug. Please fire an issue on [https://github.com/go-gitea/gitea/issues/new](https://github.com/go-gitea/gitea/issues/new)

---

<div class="post-metadata">

**Author:** ![99rgosse](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/99rgosse/32/1793_2.png) [@99rgosse](https://forum.gitea.com/u/99rgosse)\
**Post date:** [March 25, 2021, 2:49pm UTC](https://forum.gitea.com/t/gitlab-to-gitea-pull-requests-import-is-okay-but-no-commit-within-files-leads-to-error-500/3100/3 "2021-03-25T14:49:16Z")

</div>

Thanks for the advice ! I opened [#15155](https://github.com/go-gitea/gitea/issues/15155)  
Have a great day 🙂
