8000 Current Anthropic API keys (sk-ant-api03) are not supported – Shortest fails with Max retries error · Issue #449 · antiwork/shortest · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Current Anthropic API keys (sk-ant-api03) are not supported – Shortest fails with Max retries error #449
Open
@ali2hmed

Description

@ali2hmed

Version

No response

Your repository URL

https://github.com/ali2hmed/shortest-example

Actual behavior

When using the current API keys issued by Anthropic (which start with sk-ant-api03-), Shortest fails to send any requests to the Anthropic API.

Running any test shows:
Tokens: 0
Error processing file: Max retries reached

No requests are made, even though the API key is correctly loaded via .env and verified via console.log in shortest.config.ts.

Anthropic support confirmed that all new keys are issued in this format, and third-party tools like Shortest need to update their compatibility.

Expected behavior

I expected Shortest to work with the current API keys issued by Anthropic (sk-ant-api03-...), just like older ones.

At the very least, it should provide a meaningful error if the key is not supported, instead of silently failing (0 tokens).

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i7-4900MQ CPU @ 2.80GHz
    Memory: 704.14 MB / 7.81 GB
  Binaries:
    Node: 22.16.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (128.0.2739.63)
    Internet Explorer: 11.0.19041.5794
  npmPackages:
    @antiwork/shortest: ^0.4.9 => 0.4.9

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0