Skip to content

Error: APIKEY can NOT be empty. #1

@paiva-thiago

Description

@paiva-thiago

Hello!

I'm trying to use your integration to Tiledesk following this tutorial that links to this repo.

I've followed all the instructions and this error appears in the app console when an user sends a message to a chat associated with the bot:

Error: APIKEY can NOT be empty.
    at new TiledeskClient (/root/codes/thechatbot/node_modules/@tiledesk/tiledesk-client/index.js:35:13)
    at new TiledeskChatbotClient (/root/codes/thechatbot/node_modules/@tiledesk/tiledesk-chatbot-client/index.js:120:27)
    at /root/codes/thechatbot/hello.js:10:5
    at Layer.handle [as handle_request] (/root/codes/thechatbot/node_modules/express/lib/router/layer.js:95:5)
    at next (/root/codes/thechatbot/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/root/codes/thechatbot/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/root/codes/thechatbot/node_modules/express/lib/router/layer.js:95:5)
    at /root/codes/thechatbot/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/root/codes/thechatbot/node_modules/express/lib/router/index.js:335:12)
    at next (/root/codes/thechatbot/node_modules/express/lib/router/index.js:275:10)

I believe there is something weird happening. I also put the index of this repository in my application, called node and the same error appears!

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