Skip to content

[Bug]: wget Authentication error: API key is invalid! #6256

Closed
@mfjiang

Description

@mfjiang

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

RAGFlow workspace code commit ID

f540559

RAGFlow image version

v0.17.2-25-g1842ca03 full

Other environment information

Ubuntu/WS2/WINDOWS 11

Actual behavior

curl.exe --request GET `

--url 'http://192.168.110.54:81/api/v1/datasets?page=1&page_size=10&orderby=&desc=&name=&id=' --header 'Authorization: Bearer ragflow-E3ND********************'
--header 'Content-Type: application/json'

response:
{"code":109,"data":false,"message":"Authentication error: API key is invalid!"}

The KEY is the same as that displayed on the RAG API Info Page:

Image

Expected behavior

get right response

Steps to reproduce

curl.exe --request GET `
>> --url 'http://192.168.110.54:81/api/v1/datasets?page=1&page_size=10&orderby=&desc=&name=&id=' `                   
>> --header 'Authorization: Bearer ragflow-E3ND********************'`                                           
>> --header 'Content-Type: application/json'

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions