Skip to content

[bug] 'Error x' in browser console window #382

Done

Description

@fallingrock

bug description:
I'm not sure if this is a usage issue or a bug. I've just started looking into cap.

When my form loads, I'm seeing a lot of the following in my browser (Safari) console window.

Snapzy_2026-11-24_14-09-36_448

I'm seeing the same, with apparently more detail, in Chrome...

Snapzy_2026-11-24_14-21-48_454

I'm loading the cap widget js (ver 0.1.64) from jsdelvr.

The cap site is self hosted, but accessible from the internet, the form page is being served from a localhost web server (php run inside intellij).

affects:

  • [] capd
  • widget (ui)
  • [] widget (wasm solver)
  • [] js server
  • [] js solver

to reproduce:

I'm using the following html...

<!DOCTYPE html>
<html lang="en">
<head>
    <title>Test Form</title>
    <script src='https://cdn.jsdelivr.net/npm/@cap.js/widget@0.1.64'></script>
</head>
<body>
    <form action="test-verify.php" method="post">
        <cap-widget data-cap-api-endpoint='https://captcha.example.com/my-site-key/'></cap-widget>
        <input type="submit" value="Submit">
    </form>
</script>
</body>
</html>

expected behavior:
Not sure if this is expected, but I wouldn't.

versions and environment:
Safari 27.2 and Chrome 158.0.8127.37 on MacOS 27.2

Activity

  1. added
    bug
    on Nov 24, 2026
  2. tiagozip commented on Nov 24, 2026

    @tiagozip
    Owner

    this is intentional! it's part of one of our antibot checks.

    i have changed the wording to "[cap] this message is part of our checks and is safe to ignore" though, and it should ship in the next version of cap core and capd

  3. fallingrock commented on Nov 24, 2026

    @fallingrock
    Author

    OK, cool. Thanks for the quick reply.

    Yeah, rewording the message is a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions