
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 04, 2022 08:02 PM
I’m getting an invalid hook call error, but I’m unsure as to why. My extension is intending to list all the values in a specific field in a dropdown to then select one to filter buy
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
- You might have mismatching versions of React and the renderer (such as React DOM)
- You might be breaking the Rules of Hooks
- You might have more than one copy of React in the same app
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.
at resolveDispatcher (https://localhost:9000/__runFrame/bundle.js:79388:13)
at Object.useContext (https://localhost:9000/__runFrame/bundle.js:79396:20)
at useSdk (https://localhost:9000/__runFrame/bundle.js:25061:19)
at useBase (https://localhost:9000/__runFrame/bundle.js:32768:41)
at ./frontend/filter.tsx (https://localhost:9000/__runFrame/bundle.js:34:74)
at webpack_require (https://localhost:9000/__runFrame/bundle.js:82174:41)
at ./frontend/index.tsx (https://localhost:9000/__runFrame/bundle.js:130:65)
at webpack_require (https://localhost:9000/__runFrame/bundle.js:82174:41)
at runBlock (https://localhost:9000/__runFrame/bundle.js:82265:3)
at https://static.airtable.com/js/by_sha/b9c14bce/block_frame-br.js:1:2313261
at r (https://static.airtable.com/js/lib/regenerator-runtime.min.js:1:160)
at Generator._invoke (https://static.airtable.com/js/lib/regenerator-runtime.min.js:4:58)
at a. [as next] (https://static.airtable.com/js/lib/regenerator-runtime.min.js:1:339)
at ie (https://static.airtable.com/js/by_sha/b9c14bce/block_frame-br.js:1:2307862)
at i (https://static.airtable.com/js/by_sha/b9c14bce/block_frame-br.js:1:2308066)
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 06, 2022 06:07 PM
I appreciate your desire to solve this, but starting a new thread when you’ve already reported the issue in another thread just creates more confusion. I suggest deleting this thread (if you can) and focusing the conversation in the other one, which I’ll try to get back to as soon as I have the time to do so.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 06, 2022 06:07 PM
I appreciate your desire to solve this, but starting a new thread when you’ve already reported the issue in another thread just creates more confusion. I suggest deleting this thread (if you can) and focusing the conversation in the other one, which I’ll try to get back to as soon as I have the time to do so.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 06, 2022 06:11 PM
I was able to solve the issue thankfully, but I am running into another issue which I will detail in the original thread
