Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    hello,

    I have a problem with Nokia restful map API , when I try ti explore places nearby I receive an error in SIGNAL(finished(QNetworkReply*) which is :

    299
    "Error downloading http://demo.places.nlp.nokia.com/pla...in&pretty=true - server replied: Not Acceptable"

    I tried the same code with another link it works ok , so please help me in this issue

  2. #2
    Nokia Developer Expert danielmoor's Avatar
    Join Date
    Apr 2012
    Location
    Berlin, Germany
    Posts
    33
    Hi,

    We would return Not Acceptable when the Accept contains only content types that we don’t serve.

    We return json content if requested with Accept:application/json, we return html, if requested with Accept:text/html, and we return 406 Not Acceptable when requested with Accept:application/xml, since we don’t support XML.

    daniel.
    Daniel Moor
    Nokia Places API

  3. #3
    thank you for your quick reply and helping me in solving the issue, I mange to solve the issue by adding request.setRawHeader("Accept","application/json"); to the code

Similar Threads

  1. Replies: 1
    Last Post: 2010-12-18, 10:43
  2. Replies: 1
    Last Post: 2009-12-30, 11:44
  3. BLDMAKE ERROR: ERROR: cpp.exe returned non-zero exit status
    By adrianogalati in forum Symbian C++
    Replies: 0
    Last Post: 2007-11-01, 18:25
  4. Downloading 3gp video over WAP - Status Codes 406
    By cyanwap in forum Mobile Web Site Development
    Replies: 4
    Last Post: 2004-04-30, 05:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved