-
-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Hi,
we have a react-router project where we have included react-router-devtools. Lately devtools seems to trigger an api error in the algoliasearch client. When using the algolia search client, the following error is triggered:
ERROR Unknown parameter: data-rrdt-source <ref *1> ApiError: Unknown parameter: data-rrdt-source at deserializeFailure (file:////node_modules/@algolia/client-common/src/transporter/helpers.ts:91:12) at retry (file:////node_modules/@algolia/client-common/src/transporter/createTransporter.ts:194:13) at processTicksAndRejections (node:internal/process/task_queues:105:5) { stackTrace: [ { request: [Object], response: [Object], host: [Object], triesLeft: 3 } ], status: 400, error: [Circular *1] }
The parameter data-rrdt-source is apparently added by the devtools, and it has worked nicely up until recently.
So, I was wondering. Has the devtool changed recently to trigger this error?
Is there a way to blacklist/exclude the algolia search client from injection?
Here are our dependencies from package.json:
"react-router": "^7.9.3",
"react-router-devtools": "^5.1.3",
"algoliasearch": "^5.39.0",
I have been in contact with the algolia people through the following ticket (algolia/api-clients-automation#5441), but nothing came of it.
thanks