Ah, sad to know that you are still on my same boat. Yes, I don’t see anyway around. It really seems like that does PUT/DEL endpoint got somehow compromised and not on the library itself but rather on their servers, it is or the endpoint got must more restricted with authentication, or they got renamed/moved/deleted.
As the app stopped working at random without any update of the package on our side, then we have nothing that we can do. We can only wait for Shopify support. My team also submitted a ticket, let’s hope soon they will solve this issue.
Btw, we have the app up and running in the Shopify App store, and there it is still working.
While we’re waiting for their response. I come up with a solution that works with our remix application. As an alternative, we can just make a Rest API call instead (did this inside the action router):
Hi @CharlesMoreno ,
can you explain what I write in this function and what is meaning to write this function?
const mainTheme = await fetchMainTheme(request);
Yes, this will help us keep going the development process smooth! Thanks.
So, it doesn’t seem an issue on the endpoint themself but the library itself. Great to have a workaround, thanks a lot @CharlesMoreno we could have tried out it before
Same here, if our Shopify partner support comes back with anything related, I will update here.
No official answer from Shopify support.
But for our needs I have submitted 2 more app exemption, explaining within the form the reasons and that the app itself won’t anyhow go in PROD and is a copy of what is already in PROD. They did not hesitate to accept it, it happened even over just 1 day.
I would say would be cool if Shopify instead of returning 404 would return 401 Unauthorized or similar with a brief explanation regarding the required exemption. I don’t know if it was on purpose but to me it makes sense as they want developers to NOT rely on it, hide it behind a permission on their side even for DEV and testing purposes.
hey liam, just to double check, my app is a public app on the shopify app store, does this mean that if i want to edit theme files (PUT) I need an excemption, if so how long does it usually take as I have already requested one.
@CharlesMoreno Thanks for the Code snippets it’s look like working fine but. I have tried with the Rest API call using the Postman but getting the 404 . could you please help me the payload to pass.