Skip to content

加载 Kiro 凭证失败 #123

@qq781548819

Description

@qq781548819

curl 命令

curl -s http://192.168.1.22:8999/v1/messages
-H "Authorization: Bearer pc_K9lt70hHzOh3CkKat7y361EIxiWFBwuo"
-H "Content-Type: application/json"
-d '{"model":"claude-opus-4-5","max_tokens":100,"messages":[{"role":"user","content":"What is 1+1? Answer with just the number."}]}'
响应 (HTTP 401)

{
"error": {
"message": "Token refresh failed: 加载 Kiro 凭证失败: invalid type: integer 1768374080, expected a string at line 6 column 25"
}
}

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