0

Error Authentication Level

Hi,

I am not sure if this is the right category to post but I think maybe it's a problem of oauth. When I have done the authorization using oauth and I want to make the first request for private user data:

http://query.yahooapis.com/v1/public/yql?q...callback=cbfunc


I get an HTTP 200 OK response an the response body is:

cbfunc({"error":{"lang":"en-US","description":"Authentication Error. The table social.profile requires a higher security level than is provided, you provided ANY but at least APP is expected"}});

Does anyone know what's the problem here? I made sure that I have configured my application with access to private user data.

Thank you for your help !

by
3 Replies
  • Hi Alisa,

    Did you send the OAuth parameters in the HTTP header? Can you please
    provide them here?

    Thanks,
    Yu Wang
    0
  • Hi,

    I send these parameters via HTTP Header Authorization:
    OAuth oauth_token="A%3DOMdyjfniultuw8NiG0x1NhHemcwzkgkGbH7L72yE4PaFxoMR0svop1wKCGtuMRlhVYyKlb.82Hg8OD
    vyt2Abn2DyqVl_wuRqC0ustkaXyOGu_vL4Ii1WSt58JIZCXPc_1PzLM.ZpfYfrZ4XRBpIrodsFBeFj8dO
    rJxKOsEw.HrTqu5icaMlo60uZtrwcESDNDeAKgjqmjcfYHxraBbp6gKEmKsZQQYpF67w.ncj_Q0FvxD9S
    cCJeiL0Pc4Cla2E4tcmXhB_thJVaAq4qdVH5iYqogV4Z3L.iMt7SoIiv4TWMgyS1bPSvzryz52WgoOCnZ
    1HCQUlqeshQcEIroEJpeYhmEGWrE7Xp84hVIBIapti8Pwys3lU18eIGbr7P0vgjhDMsOX3E5ATupHFzK9
    P1nvhzINBrvMglqc2qmfkViB9iEvwkoKEppUjEsH1vjEhBs3BaN29LQ_Uk2642C537QMUauihROegsXjP
    T9B8KIoF85ITl9g0d7qnNJWIrIyCvbZvDIWq4ddjSWdd1SRoFq_Gwx__6Il86fSzX9635Tco8XXZKOoXA
    8kk8.mSIY7be44XlEefQtnrfcWa_O1LF1l6ugFg07tjM3Th4j_oxIG9QUCTFgN8hnhKhtWAvAJFvkWMEs
    npsypU2YHUKuf2JgMwA3s4jLZRiwhx2mg3pl1qM5kfy2s8FAvDmv149ddWtQG1zJ8KqW4u0_pazRNa7Bf
    Tnm4HbJiY6PxwMQmuAb4hdf7gi9bxeUwvn.Egby5LdQGz0H9SXb_7f3S2NLjtuQX3vQ41fZCINeODwKpH
    RFP_xxx-",
    oauth_verifier="6zecbw",
    oauth_consumer_key="dj0yJmk9UnlWaDk2TWFxdTQyJmQ9WVdrOVJqTlFRVWw0TjJjbWNHbzlNVEUwTXpJMk1EQTJNZy0
    tJnM9Y29uc3VtZXJzZWNyZXxxx--",
    oauth_version="1.0",
    oauth_signature_method="HMAC-SHA1",
    oauth_timestamp="1273848084",
    oauth_nonce="-2268027110966796908",
    oauth_signature="rNEXt2rc37XrCchz2LWjZ1QAy%2FY%3D"
    0
  • Hi,

    I solved the issue (with the help of another forum member):

    "You should use the non-public yql endpoint ( http://query.yahooapis.com/v1/yql ) for signed requests for private data. For example, note the "REST query" url in the YQL console for this query:
    select * from social.profile where guid=me" (http://developer.yahoo.com/yql/console/?q=select%20*%20from%20social.profile%20where%20guid%3Dme)
    0

Recent Posts

in OAuth General Discussion YDN SDKs