Failed to run global action in API playground

Hey Gadget team, I've added a global action and able to to run it in development environment. But when I deployed to production and try to run it, I get "api.action is not a function" error.
No description
9 Replies
Chocci_Milk
Chocci_Milk4d ago
Hello, Could you please share the name of the application?
Justin Nguyen
Justin NguyenOP4d ago
Yes. Here's the name: ai-desc-optimzer
Chocci_Milk
Chocci_Milk4d ago
Should be fixed now
Justin Nguyen
Justin NguyenOP3d ago
It keep saying the same thing from my end
Chocci_Milk
Chocci_Milk3d ago
Could you please clear your cache and try again
Justin Nguyen
Justin NguyenOP3d ago
Yes. It keep saying same issue
Chocci_Milk
Chocci_Milk3d ago
Maybe restart the app and close the browser tabs? I'm able to run your action without any issues:
No description
Justin Nguyen
Justin NguyenOP3d ago
Yes. I even tried with private mode of browser but keep getting same issue
Chocci_Milk
Chocci_Milk2d ago
Could you try other things like logging out and logging back in or restarting your computer? The client is built correctly, I’m using that action without issues on my end

Did you find this page helpful?