Skip to content

Anthropic Claude 3 API error:403 #5445

Description

@stephonye

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • 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).
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.6.11

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

When I select Anthropic in the model provider settings and enter the API Key, an error message appears: Error code: 403 - {'error': {'type': 'forbidden', 'message': 'Request not allowed'}}. The model cannot be added normally. Background: The network I am on can access the Anthropic API, and I can access Anthropic Claude 3 normally using the same API Key in other ways.

✔️ Expected Behavior

Anthropic model added successfully

❌ Actual Behavior

Error code: 403 - {'error': {'type': 'forbidden', 'message': 'Request not allowed'}}
2024-06-20 14 44 41

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions