[bing_linkedin_cache] module error

Issue #280 new
Ben Hoffman
created an issue

I am getting an error with the [bing_linkedin_cache] module -
[!] FrameworkException: 401: Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.
File "/usr/share/recon-ng/recon/core/module.py", line 351, in search_bing_api.

I have verified the API key works using -

Any recommendation ?
Thank you.

Comments (6)

  1. Ben Hoffman reporter

    I have not changed anything in recon-ng since my query.
    I am now getting this message -

    [!] URLError: <urlopen error [Errno -2] Name or service not known>
    File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open.

    I may had a VPN running when I created the issue, and now it is not running.
    I also may have changed my AZURE permissions since I created the Issue.
    In any case, the API key is entered correctly, unless there is some issue with copy/paste.

    Thank you.

  2. Brian King

    Sorry - I was hoping it was easier...
    Microsoft has replaced their Cognitive Services API with something whose main purpose seems to be to prevent people (at least people like me) from using it.

    My own Bing API key - the one I see in my Azure dashboard as the current key : the one I just now regenerated - gives me the same error you were getting in your initial report.

    I don't know what to make of your latest error. But it looks like a network connectivity or DNS issue. Maybe? I'm just guessing.

    If I figure out how to get working API keys out of Bing, I'll share the steps.

  3. Ben Hoffman reporter

    I have to apologize.
    A network issue on my side is causing the last error message.
    Sorry for the trouble.
    I hope to sort out the Bing issue though!

  4. dorsec

    Curious if anyone had any luck resolving this. I'm getting the same error and also verified the API key using the Microsoft link provided by Ben.

  5. Log in to comment