incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

[Bug][framework] status code 500 returned from the server

Open mindlesscloud opened this issue 3 years ago • 1 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

status code 500 returned from the endpoint /pipelines

$ curl -i 127.0.0.1:8080/pipelines
HTTP/1.1 500 Internal Server Error
Content-Type: application/json; charset=utf-8
Date: Wed, 14 Sep 2022 14:13:05 GMT
Content-Length: 0

What you expected to happen

The status code should be 200. The response body should be a valid JSON

How to reproduce

  1. setup DevLake
  2. request for pipelines curl -i 127.0.0.1:8080/pipelines

Anything else

No response

Version

main

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

mindlesscloud avatar Sep 14 '22 14:09 mindlesscloud

@mindlesscloud can you try again? I think my latest merged PR will have fixed this. I just setup an env and got a 428 as expected, and after running migrations got 200 with the full JSON.

keon94 avatar Sep 15 '22 20:09 keon94