aws-samples / aws-samples/bedrock-chat

[BUG] Error page is learned when the site accessed by playwright is not HTTP Status 200

Open
#265 1 comment 0 reactions 1 assignee Claimed by @k70suK3-k06a7ash1 View on GitHub
Dominant language
TypeScript
Stars
1.3k
Forks
535
Avg merge
1d 12h
Merged PRs (30d)
10

Description

## Describe the bug

https://github.com/aws-samples/bedrock-claude-chat/blob/02473ad46fc6fc0804d72dc44e75cc0a21cbb39c/backend/embedding/loaders/playwright.py#L156

```python
if response.status != 200:
raise ValueError(f"page.goto() returned Not HTTP Status 200 for url {url}")
```
**Filling out this field will help us investigate the issue efficiently. Providing detailed information allows us to set the appropriate priority. We appreciate your cooperation.**
A clear and concise description of what the bug is.

## To Reproduce

**Filling out this field will help us investigate the issue efficiently. Providing detailed information allows us to set the appropriate priority. We appreciate your cooperation.**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

## Screenshots

If applicable, add screenshots to help explain your problem.

## Additional context

Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.