~I’m getting an internal server error when queryin...
# contributing-to-airbyte
d
I’m getting an internal server error when querying
localhost:8001/api/v1/logs/get
. Anyone else seeing this?
False alarm. Nothing to see here!
u
Copy code
➜  .dockerversions git:(better-api-docs) ✗ curl localhost:8001/api/v1/logs/get
{"message":"internal server error"}%
this works fine for you? edit: this commend isn’t a POST
u
ah you’re right i get an exception
u
good to know I’m not going crazy. I will create an issue and take a look some other time
u
curl -X POST "http://localhost:8001/api/v1/logs/get" -H "accept: text/plain" -H "Content-Type: application/json" -d "{\"logType\":\"server\"}"
u
Ah I see my mistake now
u
@Davin Chia (Airbyte) when I ran this got a return
u
In the terminal is OK but in the swagger UI blows up :~
u
you mean the airbyte ui?
u
got cha. strange, Swagger UI is working for me
u
did you try the endpoint in the Swagger?
u
yes
u
wait a sec, you are right. I was looking at the wrong response (I really dislike Swagger UI)
u
okay. turns out my initial curl command wasn’t right. however swagger UI is erroring out. will amend the issue. thanks guys!
u
actually @[DEPRECATED] Marcos Marx can you give swagger ui another shot? restarted my server and it seems to be fine now
u
@Davin Chia (Airbyte) maybe now works because the log is small? Later I'm gonna try again