nextcloud / nextcloud/spreed

Bot webhook return 400 code

Open
#17,907 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: bots 🤖 needs info
Dominant language
JavaScript
Stars
2.2k
Forks
586
Avg merge
18h 27m
Merged PRs (30d)
333

Description

In this official documents
https://nextcloud-talk.readthedocs.io/en/latest/bots/
Sample bash script:
Image
I've tried the bash script, but return me a 400 code.

{"ocs":{"meta":{"status":"failure","statuscode":400,"message":""},"data":null}}

So what's the token of the conversation, if it is the end string of index.php/call/******
And the TOKEN i got from the occ cli, i tried sevral times still shows the return.

Spreed Talk App Version: 23.0.4
Nextcloud Server Version: 33.0.2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the bots documentation page and reproduce the shown bash request, checking both the conversation URL value and the token obtained from occ CLI against the reported 400 response. Clarify which token the example requires and update the documentation so the example's expected request and successful result are unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.