Facing error graphql after installing SuiteCRM8

I know it’s old, but seems the question may be out there… Plus I had same problem while back, got stumped, and now finally figured it out. In my case, I found that the vhost (I am using Apache2) config was not configured for ssl. I added this code to my .conf file for ssl and it all worked after that:

<Directory /<path-to-suite>/public>
        AllowOverride All
        Order Allow,Deny
        Allow from All
    </Directory>

From what I know, there is usually a .conf file for non-ssl (port 80 typically) and for ssl (usually port 443).