404 not found app proxy, what to do?

Psousa
New Member
4 0 0

Hi,

I've setup an app proxy in my shopify app which sent a simple request to my app and it responded back with a 200. This was working fine until 2 days ago, now Shopify always returns a 404 not found error and the requests don't even hit my app so I don't know what's going on.

On Shopify dashboard I have:

sub path prefix: a

sub path: invoicing

proxy url: https://my_app.com/app_proxy

On the theme's .liquid code I have this javascript

     jQuery.ajax({
        type : "GET",
        dataType: "jsonp",
        url: "/a/invoicing/update-customer-vat",
        data: { email: email, vat_number: vat_number, imediate: "true" },
        success: function(data) {
          console.log("yay dev " + data);
        },
        error: function(xhr,status,error){
          console.log("dev status : " + status + " error: " + error);
        }
      });

It returns a not found error. The request doesn't hit my app.

I'm not sure how to proceed or debug this issue. Can anyone clue me in?

 

cheers

Pedro

0 Likes
Psousa
New Member
4 0 0

Anyone?

I still haven't managed to get this working again. I would be happy to provide more information. I double checked everything.

0 Likes
shakeel_tb
New Member
2 0 0

did you find any solution I am also stuck here

0 Likes