POST /projects/:id/fork - delay

Hello,

When calling the following endpoint, POST /projects/:id/fork, I almost get a response within moments displaying the new projectID. However, when I immediately call the following endpoint PUT /projects/:id to adjust issue tracking and merge request settings for the new project, I get a 500 Internal server error. However, when I try to later make the same PUT request, it goes through.

My question is, do I need to wait a certain amount of time after the POST fork operation before performing the PUT request against said projectID? If so, how long and why?

Thanks so much for your input!
-josh