I'm trying out the GraphQL API on the 2.3-develop branch. On a clean Magento install, all queries return:
"errors": [
{
"debugMessage": "Unable to unserialize value.",
"message": "Internal server error",
"category": "internal",
"trace": [
{
"file": "/magento/app/code/Magento/GraphQl/Controller/GraphQl.php",
"line": 102,
"call": "Magento\\Framework\\Serialize\\Serializer\\Json::unserialize('{\n products(search: \" \"){\n total_count\n\t}\n}')"
},
{
I'm sending a HTTP POST request to http://magento-shop-host/graphql
With the headers:
- Accept: application/json
- Content-Type: application/json