Closed paolocornali85it closed 1 year ago
Hey @paolocornali85it,
I don't use gitlab but from reading the error message it says that the ssage":"404 - {\"message\":\"404 Project Not Found\"
. This likely means that staticman unlikely can't see
or find
your project.
I also looked at your: https://gitlab.com/paolocornali85it/staticman_test/-/blob/main/config.toml and you don't seem to reference your hosted staticman at all. From my understanding it should look like this:
[params.comments.staticman]
enable = true
apiEndpoint = "https://{your_hosted_staticman}.fly.dev/v2/entry"
maxDepth = 4
username = "{relevant_username}"
repository = "{relevant_repo_name}"
Try this out + good luck!
Hi lysng, thank you for your answer. After various attemps, I am now able to submit a comment. The problem was that the gitlab token I have set disappeared. Probably it was expired and I hadn't noticed it. When I recreate the gitlab token, it started to works.
I start by saying that I'm not a developer and this is the first issue I create. When I try to submit a comment, I receive the following error:
{"success":false,"rawError":{"message":"404 - {\"message\":\"404 Project Not Found\"}","statusCode":404},"errorCode":"GITLAB_READING_FILE"}
Context:
Anyone can help? Thank you in advance.