5

I'm getting the following error when calling a lambda function through AppSync GraphQL:

{
  "data": null,
  "errors": [
    {
      "path": null,
      "locations": [{ "line": 2, "column": 3, "sourceName": null }],
      "message": "Validation error of type SubSelectionNotAllowed: Sub selection not allowed on leaf type String of field sendSignatureRequest @ 'sendSignatureRequest'"
    }
  ]
}

I haven't seen this error before. Where should I be looking to fix it?

Kay
  • 402
  • 4
  • 6

1 Answers1

2

Figured it out. The lambda function returns a string and I coded an object in the query.

Kay
  • 402
  • 4
  • 6