I’m trying to setup a 1001fx Execute Javascript module and can’t get the API connection to work. Error is: [401] Unauthorized: Missing or invalid X-API-KEY header. Help please! I set up the connection with my API token and then put in my javascript prompt but cannot get past the 401.
Hello,
Welcome to the Community!
Please use Make’s DevTool to check how Make is processing the API call:
https://chromewebstore.google.com/detail/ainnemkhpnjgkhcdkfbhmlenkhehmfhi?utm_source=item-share-cb
Your error clearly states that the X-API-KEY header is missing – which means there’s a misconfiguration in the module handling the request or module itself. Or 1001fc has an error on their side and returns misleading error code.
You can also try the native Run Code module as an alternative:
https://www.make.com/en/blog/make-code-app
Have a nice day,
Michal
Welcome to the Make community!
It’s not that difficult…
- Register and verify account
- Copy API key
- Add module, create new connection
- Paste API key (no need to add “X-API-KEY”)
- Test with some basic code
Got it set up in 3 minutes.
But why have another external dependency? Make already has a “Make Code” module which is much more usable and powerful.
Hope this helps! If you are still having trouble, please provide more details.
— @samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!


