Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add check for JSON string #186

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Feb 11, 2021

  1. add check for JSON string

    I'm getting:
    {
        "errorType": "Error",
        "errorMessage": "Error: SyntaxError: Unexpected token < in JSON at position 0 with code: 1",
        "stack": [
            "Error: Error: SyntaxError: Unexpected token < in JSON at position 0 with code: 1",
            "    at _homogeneousError (/var/runtime/CallbackContext.js:12:12)",
            "    at postError (/var/runtime/CallbackContext.js:29:54)",
            "    at callback (/var/runtime/CallbackContext.js:41:7)",
            "    at /var/runtime/CallbackContext.js:104:16",
            "    at /var/task/handler.js:15:13",
            "    at processTicksAndRejections (internal/process/task_queues.js:97:5)"
        ]
    }
    
    body is not a JSON string and failing
    KennethChiu123 authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    ea6c702 View commit details
    Browse the repository at this point in the history