Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/api/v1/chat.postMessage stop working in 7.4.0 #35424

Open
fidojones opened this issue Mar 7, 2025 · 0 comments
Open

/api/v1/chat.postMessage stop working in 7.4.0 #35424

fidojones opened this issue Mar 7, 2025 · 0 comments

Comments

@fidojones
Copy link

Description:

After upgrade from 7.3.1 to 7.4.0 the /api/v1/chat.postMessage stop working with this message:

{"success":false,"error":"must NOT have additional properties\n must NOT have additional properties\n must match exactly one schema in oneOf [invalid-params]","errorType":"invalid-params"}

We downgraded to 7.3.1, and all continue working again.

Steps to reproduce:

Sending the exact same params with curl (has been working the same, in all previous versions)

curl --request POST --url https://DOMAIN/api/v1/chat.postMessage --header 'X-Auth-Token: AUTH_TOKEN' --header 'X-User-Id: USER_ID' --header 'accept: application/json' --header 'content-type: application/json' --data '{ "alias": "BOT_ALIAS", "channel": "#CHANNEL_NAME", "roomId": "ROOM_ID", "text": "bip"}'

Server Setup Information:

  • Version of Rocket.Chat Server: 7.4.0
  • License Type: Standard
  • Operating System: Debian 11
  • Deployment Method: tar
  • Number of Running Instances: 1
  • NodeJS Version: v22.13.1
  • MongoDB Version: 6.0.19

Client Setup Information

  • Desktop App or Browser Version: Browser version
  • Operating System: Manjaro Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant