Skip to content

The Smooch bot doesn't start anymore #19

@MecuSorin

Description

@MecuSorin

Noticed recently that the smooch bot integration doesn't work. Smooch doesn't support that route anymore?

Request:

POST https://api.smooch.io/v1/init HTTP/1.1
Host: api.smooch.io
Connection: keep-alive
Content-Length: 384
Origin: http://sorin-cv-bot.herokuapp.com
x-smooch-sdk: web/3.15.2
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
app-token: ________________________
Content-Type: application/json
Accept: application/json
DNT: 1
Referer: http://sorin-cv-bot.herokuapp.com/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,ro;q=0.8

{"userId":"","device":{"platform":"web","id":"________________________________","info":{"sdkVersion":"3.15.2","URL":"sorin-cv-bot.herokuapp.com","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","referrer":"","browserLanguage":"en-US","currentUrl":"http://sorin-cv-bot.herokuapp.com/","currentTitle":""}}}

Response:

HTTP/1.1 404 Not Found
Date: Fri, 01 Feb 2019 08:50:55 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 133
Connection: keep-alive
Server: nginx/1.13.8
Vary: X-HTTP-Method-Override, Origin
Access-Control-Allow-Origin: http://sorin-cv-bot.herokuapp.com
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: Retry-After
Cache-Control: private, no-cache, no-store, must-revalidate
Expires: -1
Pragma: no-cache
ETag: W/"85-T7rlbbSI/uaihhE/TnktV3e+vE0"

{"error":{"code":"route_not_found","description":"There is no handler at this endpoint. Please ensure you've entered it correctly."}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions