Page 1 of 1

problems with Phant Library example

Posted: Mon Nov 16, 2015 3:41 am
by jonathanemptage
I'm using a Esp8622 wifi shield on the arduino uno I have been going through the Examples in the AT library and they all work apart from the Phant Library demo the data stream just wont up date and It's saying forbidden missing private the output looks like this

0

Connected.
Posting to Phant!


+IPD,0,396:HTTP/1.1 403 Forbidden
Access-Control-Allow-Oriri, 13 Nov 2015 16:38:49 GMT
Connection: close
Transfer-Encoding: chunked
Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/

21
0 forbidden: missing private key

0


please help

Jon

Re: problems with Phant Library example

Posted: Thu Dec 24, 2015 9:00 am
by Miskatonic
My first guess is the private key hasn't been filled in in the example code. look for the line above setup that says:
const char privateKey[] = "P4eKwGGek5tJVz9Ar84n";
Replace everything within the quotation marks with your private key.
Hope this helps