Skip to content

Error when parsing json coming from slack #34

@marcelorcorrea

Description

@marcelorcorrea

Hello Patrick,
I'm trying to integrate Slack with Dialogflow, but I'm getting an error when the lib tries to parseFromJson.
Pretty much because the originalRequest.data.user is a String and not an user object.
The error is:
"java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 175 path $.originalRequest.data.user] with root cause"

When using google assistant it works perfectly because originalRequest.data.user is an user object.
Am I doing something wrong on this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions