bug on mutation productCreate

6 0 1

When running a mutation for productCreate i randomly get an HTML error page (however i see it in code since my app is headless). I "should be" getting the json error payload, but it comes back as a formatted html page. when pasting the html output into a browser, i am seeing the page as seen below. Why is the GraphQL API giving me this error randomly (FYI, sometimes the payload goes through without this error)

Error pageError page