Credentials won't save real values, not sure why

Describe the problem/error/question

While I try to save real values in Slack API Credentials, it switches back every time.
On values :

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 2.18.5
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Cloud
  • Operating system:

@Nika_Nikoladze that’s the OAuth2 cred type masking the token field after save, switch to “Access Token” auth in the dropdown and paste ur bot token there, it’ll stick.

{ "nodes": [ { "parameters": {}, "name": "Manual Trigger", "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [200, 300] }, { "parameters": { "resource": "message", "operation": "post", "channel": "general", "text": "test" }, "name": "Slack", "type": "n8n-nodes-base.slack", "typeVersion": 2.2, "position": [440, 300] } ], "connections": { "Manual Trigger": {"main": [[{"node": "Slack", "type": "main", "index": 0}]]} } }

set the Slack cred to Access Token auth, paste your xoxb- token, save.

welcome to the n8n community @Nika_Nikoladze
the first thing I would check is whether the credential actually fails when used in a Slack node, rather than relying only on what the field displays after saving. If the node execution fails, recreate the credential with the correct Slack authentication method, reinstall or reconnect the Slack app, and make sure the required scopes are present in Slack before saving it again.