Unable to create new merge request thread
I'm unable to create new merge request thread. Any time I get a 500 internal server error. This is not really helpful.
This is the cUrl Request:
curl -V --location --request POST 'https://gitlab.com/api/v4/projects/17068115/merge_requests/1/discussions' \
--header 'PRIVATE-TOKEN: <api-token>' \
--header 'Content-Type: multipart/form-data; boundary=--------------------------800054544803589341904816' \
--form 'position[base_sha]=7542a09653591af16bf7a699441f39eea2ceb244' \
--form 'position[start_sha]=7542a09653591af16bf7a699441f39eea2ceb244' \
--form 'position[head_sha]=12f052c7ed1b7e9dc2c38d58d93bc450e81f2afc' \
--form 'position[old_path]=/static-code-review-plugin-sample-kotlin/src/main/kotlin/de/manuzid/sample/bugs/KotlinReportSample.kt' \
--form 'position[new_path]=/static-code-review-plugin-sample-kotlin/src/main/kotlin/de/manuzid/sample/bugs/KotlinReportSample.kt' \
--form 'position[new_line]=3' \
--form 'position[old_line]=3' \
--form 'position[position_type]=text' \
--form 'body=Test'
The api token is a access token with api
scope. Any suggestion why I get a 500 error?
Thanks in advance.