Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential API Bug #246

Open
dezhouc2 opened this issue Apr 15, 2024 · 7 comments
Open

Potential API Bug #246

dezhouc2 opened this issue Apr 15, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@dezhouc2
Copy link

knowledge database API

**
I got a knowledge database API got with 403 {"message":"Forbidden"}. I have check endpoint restriction, header and payload respectively and still got the bug. Would you mind if you can help me out please? My apology if the issue format is in a mess.

Screenshot 2024-04-15 113738

Screenshot 2024-04-15 114140

@statefb
Copy link
Contributor

statefb commented Apr 16, 2024

@dezhouc2 Thank you for reporting the bug. Could you check whether the API info shown in bedrock claude chat indicates the same values as the values shown in AWS management console?

@statefb statefb added the bug Something isn't working label Apr 16, 2024
@dezhouc2
Copy link
Author

Would you mind if you can be a bit more specific? Is there a jupyternote book to demonstrate the interaction with amazon bedrock knowledge database using API as above? thank you

@statefb
Copy link
Contributor

statefb commented Apr 17, 2024

Currently we don't have it. I'd just like to know whether the settings shown in bedrock-claude-chat and management console are the same or not because I cannot reproduce the issue.

@dezhouc2
Copy link
Author

Currently we don't have it. I'd just like to know whether the settings shown in bedrock-claude-chat and management console are the same or not because I cannot reproduce the issue.

Thanks for quick response. I apology for my confusion. What settings within bedrock-claude-chat? For each bot console, I have its own API Endpoint and API key respectively generating from bot console. How this relates to management console?(May you be more specific?) I have google a lot and still hard-stuck.

@dezhouc2
Copy link
Author

Hi t

@dezhouc2 Thank you for reporting the bug. Could you check whether the API info shown in bedrock claude chat indicates the same values as the values shown in AWS management console?

Yes, it's the same. However, I still got 403 bug while implementing API.

Screenshot 2024-04-24 175850

ID in the above image matches my knowledge database URL

@statefb
Copy link
Contributor

statefb commented Apr 25, 2024

  • Could you check the api key value is the same as the one can be fetched from management console (API Gateway)?
  • Or you can check debug logs (cloudwatch logs)

@dezhouc2
Copy link
Author

  • Could you check the api key value is the same as the one can be fetched from management console (API Gateway)?
  • Or you can check debug logs (cloudwatch logs)

I have checked api key value which is the same from API Gateway. I also check cloudwatch but do not find anything useful. Thank you again for your response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants