Not seeing Data on App Proxy

I'm trying to setup a new App proxy route, following what docs metnioned and a recent youtube video, I added a route at actions/classRegistration.ts I setup the config as
[app_proxy]
url = "https://xxx--development.gadget.app/api/graphql"
subpath = "registration"
prefix = "apps"
[app_proxy]
url = "https://xxx--development.gadget.app/api/graphql"
subpath = "registration"
prefix = "apps"
And now trying to call from the frontend as such
await window.myAppClient.classRegistration({
ticket_id: "ticket_002",
classes: [
{
class_id: "151275929711",
date: "2025-11-14",
time_slot: "11:00 am",
kit_variant_id:p null
}
],
customer_email: "customer@example.com",
city: "New York",
registered_at: "2025-10-28T23:46:08.751Z"
});
await window.myAppClient.classRegistration({
ticket_id: "ticket_002",
classes: [
{
class_id: "151275929711",
date: "2025-11-14",
time_slot: "11:00 am",
kit_variant_id:p null
}
],
customer_email: "customer@example.com",
city: "New York",
registered_at: "2025-10-28T23:46:08.751Z"
});
But while logging params on the server size, I get empty array.
No description
No description
4 Replies
Smelvin
Smelvin3w ago
Hi Taksh, Would you be able to share your app url? As well have you set up your permissions for the classRegistration?
taksh108
taksh108OP3w ago
I did setup permisssions, Here's the URL pinners-admin.gadget.app
taksh108
taksh108OP3w ago
No description
Chocci_Milk
Chocci_Milk3w ago
Hello, I would recommend that you set up your app proxy as the root of your application. Something like this:
[app_proxy]
url = "https://product-reviews-public-remix-ssr--devaoc.gadget.app"
subpath = "f8b1phd8ga"
prefix = "apps"
[app_proxy]
url = "https://product-reviews-public-remix-ssr--devaoc.gadget.app"
subpath = "f8b1phd8ga"
prefix = "apps"
Used like this in a theme app extension: https://github.com/gadget-inc/templates/blob/main/shopify/product-quiz-public-remix-ssr/extensions/quiz/assets/quiz.js (line 225)

Did you find this page helpful?