Skip to content
This repository was archived by the owner on Oct 22, 2022. It is now read-only.
This repository was archived by the owner on Oct 22, 2022. It is now read-only.

Cannot deploy twice #110

@conan

Description

@conan

The second time I run lein cljs-lambda deploy I always get this error:

Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('X' (code 88)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')

The unexpected character in question is always the first character of the output from the previous aws lambda get-function-configuration command:

aws lambda get-function-configuration --function-name referralbot-slash-command
XlWc1<snip>Omy8=    905749          arn:aws:lambda:eu-west-1:1<snip>4:function:referralbot-slash-command        referralbot-slash-command       index.referralbot_core_SLASH_slash_command      2018-09-27T11:43:22.641+0000    128     arn:aws:iam::1<snip>4:rol
                        nodejs4.3       3       $LATEST

I've tried running the aws configure command as suggested in #99, and have tried re-installing it too, but it didn't help. Here's the full stack trace. At the moment I have to delete the function in Lambda before lein cljs-lambda deploy will work again, which isn't an ideal workflow. Any ideas?

aws --version
aws-cli/1.11.13 Python/3.5.2 Linux/4.4.0-17134-Microsoft botocore/1.4.70

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