JetBrains / JetBrains/space-app-tutorials

Getting "301 Moved Permanently" trying out the chatbot sample

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
20
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Hi,
if I try the current sample, which seems not to be the same as on the [Jetbrains.com article](https://www.jetbrains.com/help/space/get-started-create-a-chatbot.html#step-8-run-the-bot), I get a `301` http status code.

Ngrok seems to work. Do you have any idea?

**Log output**

```
2022-10-01 21:00:54.469 [DefaultDispatcher-worker-1] INFO ktor.application - Responding at http://0.0.0.0:8080
2022-10-01 21:01:00.445 [eventLoopGroupProxy-4-2] DEBUG ktor.application - Unhandled: POST - /api/space. Exception class com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
at [Source: (String)"
301 Moved Permanently

301 Moved Permanently

"; line: 1, column: 2]]
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
at [Source: (String)"
301 Moved Permanently
...
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.