409 This merge request already exists API

Hi!

I’m trying to create a tool that creates a merge request from the terminal.
After the creation of the first one merge request with success, I’m trying to create the second one at the same target and source branch and I get this error from the API:

{ StatusCodeError: 409 - {“message”:[“Cannot Create: This merge request already exists: [“teste”]”]}

Of course, the title of the new merge request is different.
I also send a different id in the body of the POST.

Can someone help me to figure out why I get that error?
I’m here to answer to everything

Reading again the post I notice that doesn’t make sense to create another merge request to the same target branch.
I’m really sorry about the post.

This can be closed.