graphql-playground: graphqlbin share function does not function

Attempting to use https://www.graphqlbin.com/v2/new share function produces an error:

{
  "data": {
    "addSession": null
  },
  "errors": [
    {
      "code": 5008,
      "locations": [
        {
          "column": 11,
          "line": 3
        }
      ],
      "message": "software.amazon.awssdk.services.lambda.model.ResourceNotFoundException: Function not found: arn:aws:lambda:eu-west-1:484631947980:function:cj81hi46q03c30196uxaswrz2-add-session (Service: null; Status Code: 404; Error Code: ResourceNotFoundException; Request ID: 66711723-89ea-11e8-a743-ab4f35b737a4)",
      "path": [
        "addSession"
      ],
      "requestId": "eu-west-1:simple:cjjpzysua1kz9013124ybf6lu"
    }
  ]
}

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 16
  • Comments: 19

Most upvoted comments

Also seeing this issue. It also appears that the Share button fails with an error in the console:

TypeError: Cannot read property 'id' of null
    at sharingSaga.ts:34
    at r (middleware.js:108770)
    at Object.next (middleware.js:108736)
    at h (proc.js:311)
    at n (proc.js:388)

I will look into it next week 😃

Another version of the console error (for people Googling):

TypeError: "n.data.addSession is null"

Looks like it’s coming from here: https://github.com/prisma/graphql-playground/blob/524155be1d944c6c564fff9cbdfcfd7980cf9ece/packages/graphql-playground-react/src/state/sharing/sharingSaga.ts#L34

I am also seeing the issue for Apollo Server 2 projects on Glitch like https://apollo-launchpad.glitch.me/

Same issue for us, the legacy URL with any endpoint (https://legacy.graphqlbin.com/… 6chars) is redirecting us to https://legacy.graphqlbin.com/new requiring an end point.