Not Found error : Windows phone 7.5

Jan 17, 2013 at 1:16 AM

Hi,

When  I run simple

var client = new QRCodeClient();

 

client.GenerateCompleted += client_GenerateCompleted;

client.GenerateAsync("Hello World"

);
 

 

In  client_GenerateCompleted event  I get error "The remote server returned an error: NotFound."

Do I have to get API key?



Thanks



Coordinator
Jan 17, 2013 at 6:58 PM

The "generate" method should work out of the box but requires internet connection. Please, check if internet connection is available on your Windows Phone emulator or device (hint: try to open a website in the browser).

Also if you are debugging on a device, try to connect using wpconnect.exe instead of Zune (Zune works as a proxy)

Hint: client.GenerateAsync() method builds URL and makes GET request to the esponce.com server. URL can be manually checked in a web browser: http://www.esponce.com/api/v3/generate?content=Hello+World

Regards,
Avivo Team