I'm using the guide here: https://shopify.dev/api/section-rendering
I can get the response, console it, and see the field I want to get ('responseText'). But when I used JSON.parse(response.responseText) I get an error in the console: 'Uncaught SyntaxError: Unexpected end of JSON input'.
Any ideas why this might be?
Solved! Go to the solution
This is an accepted solution.