Skip to content

Syntax Error #5

@DougHayward

Description

@DougHayward

First I must say thank you for the bundle.

I was hoping you might have some pointers to get Api-Platform + MongoDB working nicely together.

I've followed along with the instructions in the README.md, however when I test the post end point I'm getting the following error:

{
  "@context": "/api/contexts/Error",
  "@type": "hydra:Error",
  "hydra:title": "An error occurred",
  "hydra:description": "Syntax error",
  "trace": [
    {
      "namespace": "",
      "short_class": "",
      "class": "",
      "type": "",
      "function": "",
      "file": "/var/www/html/forms-api/vendor/symfony/serializer/Encoder/JsonDecode.php",
      "line": 78,
      "args": []
    },

Full response in here:

response_1531834895824.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions