Cohere reranker returns 403

Describe the problem/error/question

I am currently working on RAG-pipeline for my AI-agent, using Qdrant vector store and Cohere for reranking chunks. Everything worked well until Cohere reranker started returning 403-error. I do not understand: is this an api-usage issue or data which stored in my Qsrant vector store issue?

Error output:
ForbiddenError Status code: 403 Body: { "ok": false, "error": { "reason": "non-json", "statusCode": 403, "rawBody": "<!doctype html><meta charset=\"utf-8\"><meta name=viewport content=\"width=device-width, initial-scale=1\"><title>403</title>403 Forbidden" } }

But when I check this API-key on Cohere website, it works well:

Details: my n8n is self-hosted on VPS, using Docker.

What is the error message (if any)?

Error output:
ForbiddenError Status code: 403 Body: { "ok": false, "error": { "reason": "non-json", "statusCode": 403, "rawBody": "<!doctype html><meta charset=\"utf-8\"><meta name=viewport content=\"width=device-width, initial-scale=1\"><title>403</title>403 Forbidden" } }

**

Error occurs when I try to enter api-token in "Credential" page:**

Couldn’t connect with these settings

Forbidden - perhaps check your credentials?

Please share your workflow

Share the output returned by the last node

ForbiddenError Status code: 403 Body: { “ok”: false, “error”: { “reason”: “non-json”, “statusCode”: 403, “rawBody”: “403403 Forbidden” } }

Information on your n8n setup

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