Getting ERR_BLOCKED_BY_CLIENT (not caused by other extensions) when connecting to Dropbox API

108 views
Skip to first unread message

Mino

unread,
Aug 21, 2023, 1:56:39 PM8/21/23
to Chromium Extensions
Hi, im new to chrome extension.

Im developing an extension where i try to connect to dropbox api.
I get no errors in chrome extension manager or in the console, but after authorizing the access to dropbox, when it tries to access my redirect uri, i get ERR_BLOCKED_BY_CLIENT, This page is being blocked by Chrome/Microsoft Edge.
I think the values needed to connect to dropbox are correct, i print them as logs, and apparently i give premission because it appears in dropbox apps. but i get no info in the extension side (like access key).
I already tried in another browser with no other extensions, as well as in a new chrome profile, still the same result, so im pretty confident it isnt a conflict with another extension. i have no inline scripts in the htmls. Could it be a CSP issue?

Thanks in advance.

Mino

unread,
Aug 21, 2023, 2:00:50 PM8/21/23
to Chromium Extensions, Mino
Don't know if it is important, but forgot to say that, since the extension is local, the redirect uri is a local file as well.
So it access chrome-extension://EXTENSION_ID/redirect.html (...)

Mino

unread,
Aug 22, 2023, 11:11:48 AM8/22/23
to Chromium Extensions, Mino
I messed around with it, and now i get the same error, but if i press reload page it does what is supposed to and saves my access token for Dropbox. I noticed that if i press F5 it doesnt work as well, i need to click the reload button that the error page shows. Any way to solve it? Or maybe to reload the page automatically?

Patrick Kettner

unread,
Sep 6, 2023, 8:00:44 PM9/6/23
to Mino, Chromium Extensions
Hi Mino
Would you happen to have any other extensions or profiles installed? There isn't anything specific with what you shared that makes it clear what the problem would be, so my first suggestion would be to check reduce the number of things that could be blocking it. Another less common thing would be antivirus software. Disabling any that are running in order to check if that is the problem would be a great next step as well.


--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/275da548-7243-462a-b3d4-028291f498a9n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages