Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Streaming token not recognized

I have created a token in my settings screen and now I’m trying to post a value to the stream with curl. Unfortunately I get a 404 response stating that “streamtoken not registered or valid”.

My command is: curl -s -v -H “plotly-streamtoken: x17vh1xs4t” -d @data

And the HTTP transaction:

User-Agent: curl/7.47.1
Accept: /
plotly-streamtoken: x17vh1xs4t
Content-Length: 18
Content-Type: application/x-www-form-urlencoded

} [18 bytes data]

  • upload completely sent off: 18 out of 18 bytes
    < HTTP/1.1 404 Not Found
    < Content-Type: text/plain
    < Date: Sun, 05 Jun 2016 16:24:17 GMT
    < Connection: keep-alive
    < Transfer-Encoding: chunked
    { [46 bytes data]

What could be the problem?