For me, it was because I changed the Proxy URL within the app.
I didn't realise that the old Proxy URL was still assigned to the store. I had to go into the Store > Apps and sales channels > My App > App proxy and modify the URL to the new one.