can not save in the bedrock setting page.
Self Checks
- [X] This is only for bug report, if you would like to ask a quesion, please head to Discussions.
- [X] I have searched for existing issues search for existing issues, including closed ones.
- [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [X] Pleas do not modify this template :) and fill in all the required fields.
Dify version
0.6.4
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Expected Behavior
when I save after inputting the wrong content, there will be an error info. But when I input the right content, the save button can not work. Can not save the settings of bedrock.
❌ Actual Behavior
But when I input the right content, the save button can not work. Can not save the settings of bedrock.
It sounds like you're encountering an issue where the "Save" button on the Bedrock settings page isn't working even with the correct AWS configuration details entered. This could be due to a few reasons:
-
Validation Checks: Ensure all required fields, including the dataset name and AWS configuration details (
aws_access_key_id,aws_secret_access_key, andaws_region), are correctly filled out. The "Save" button may not activate if any required field is missing or incorrect. -
AWS Credentials and Permissions: The issue might stem from the AWS credentials provided. They need to have the necessary permissions for the operations Bedrock is attempting to perform. If the credentials are expired, incorrect, or lack permissions for the selected AWS region or services, this could prevent saving.
-
Error Messages or Logs: If possible, share any error messages or logs you encounter when the "Save" button fails to work. This information can be crucial for diagnosing the problem more accurately.
Make sure to double-check the AWS region and ensure it's supported, and verify that all required fields are correctly filled and validated. If after these checks the problem persists, providing more detailed error information could help in identifying the root cause.
Details
Sources
- web/app/components/datasets/settings/form/index.tsx
- api/tests/integration_tests/model_runtime/bedrock/test_provider.py
- api/core/model_runtime/model_providers/bedrock/bedrock.yaml
- api/core/model_runtime/model_providers/bedrock/bedrock.py
- api/.env.example
- web/app/components/header/account-setting/api-based-extension-page/modal.tsx
About Dosu This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
To continue the conversation, mention @dosu.
can you try starting afresh? can't seem to reproduce this
leave the model name empty. It works for me.
wrong model id.
Please upgrade to latest version to see if this issue persists. :)