0

API Key Creation Failed...

When trying to generate an API key for one of our test servers, we continually receive this message:

API Key Creation Failed
There was an internal error that caused a failure over here. Please try again.

Can any of the YDN staff help us out?

33 Replies
  • Are you attempting to add in an address that is internal to your organization (i.e. Not publicly accessible)? The test server will need to be available externally to validate and generate the API keys. That may be the issue you are running into. If not, can you please provide the url you are attempting to validate? We'll run some tests on our side.

    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network

    QUOTE (servinity @ Jan 4 2009, 11:43 AM) <{POST_SNAPBACK}>
    When trying to generate an API key for one of our test servers, we continually receive this message:

    API Key Creation Failed
    There was an internal error that caused a failure over here. Please try again.

    Can any of the YDN staff help us out?
    0
  • QUOTE (Jon @ Jan 5 2009, 12:17 PM) <{POST_SNAPBACK}>
    Are you attempting to add in an address that is internal to your organization (i.e. Not publicly accessible)? The test server will need to be available externally to validate and generate the API keys. That may be the issue you are running into. If not, can you please provide the url you are attempting to validate? We'll run some tests on our side.

    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network



    Hi Jonathan,

    I am also facing the same problem. I was able to retrieve the API key for the first time giving the html name and the file contents. So I created the file and placed on my server (http://www.lightreft.com.my)

    However, after I click Verify Domain, it gives me verification failed, then I tried to re-create API Keys but keep on getting the API Key Creation failure error.

    Please advise on this matter?

    Thank you very much in advance.


    Regards,
    CT Su.
    0
  • QUOTE (Jon @ Jan 5 2009, 12:17 PM) <{POST_SNAPBACK}>
    Are you attempting to add in an address that is internal to your organization (i.e. Not publicly accessible)? The test server will need to be available externally to validate and generate the API keys. That may be the issue you are running into. If not, can you please provide the url you are attempting to validate? We'll run some tests on our side.

    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network

    Hi Jon,

    Initially I want to test the implementation and explore how to go about enabling yahoo OAuth for my application. In this case, if I do not have any public domain available(I'm a software developer and right now just trying out things mostly with my own yahooo ID) what should one do?
    0
  • HI gag_72,

    If you just want to explore the OAuth implementation I would suggest that you create an OAuth application and, under the application type, select "Desktop Application" instead of the web based one. Doing this will remove the requirement to verify a domain (or even enter one) and should give you the keys you need.

    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network
    Twitter: jcleblanc

    QUOTE (gag_72 @ Jul 20 2009, 02:21 AM) <{POST_SNAPBACK}>
    Hi Jon,

    Initially I want to test the implementation and explore how to go about enabling yahoo OAuth for my application. In this case, if I do not have any public domain available(I'm a software developer and right now just trying out things mostly with my own yahooo ID) what should one do?
    0
  • QUOTE (Jon @ Jul 20 2009, 06:39 AM) <{POST_SNAPBACK}>
    HI gag_72,

    If you just want to explore the OAuth implementation I would suggest that you create an OAuth application and, under the application type, select "Desktop Application" instead of the web based one. Doing this will remove the requirement to verify a domain (or even enter one) and should give you the keys you need.

    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network
    Twitter: jcleblanc


    Hi there,

    I found myself in a similar position to the OP and while I can now access OAuth without verifying a domain, I get the following error when requesting an unauthorized request token (first stage of OAuth):

    OAuth Error: Custom port is not allowed or the host is not registered with this consumer key.

    It is not on any custom port and since I registerd as a client/desktop app, I don't understand how the 'host is not registered with this consumer key'. I am using the consumer key and shared secret for the hmac1 request signing.

    Would appreciate some help on this.

    Regards,

    Ali
    0
  • I'm having the same issue that I am not able to create an API Key. I was browsing the forums for a solution and then tried to set it up as desktop application - as suggested in this thread - without domain name verification, but even that returns the same error:

    API Key Creation Failed

    There was an internal error that caused a failure over here. Please try again.


    Hope that problem will be solved soon!
    0
  • QUOTE (tnbt.developer @ Aug 11 2009, 11:36 PM) <{POST_SNAPBACK}>
    I'm having the same issue that I am not able to create an API Key. I was browsing the forums for a solution and then tried to set it up as desktop application - as suggested in this thread - without domain name verification, but even that returns the same error:

    API Key Creation Failed

    There was an internal error that caused a failure over here. Please try again.


    Hope that problem will be solved soon!


    Is there any update on this issue. Our team is also facing the same issue.
    0
  • Nothing yet but the bug is active ad being investigated. The team was having issues duplicating the bug so they're delving deeper.

    - Jon

    QUOTE (AllTestResult @ Aug 15 2009, 07:58 AM) <{POST_SNAPBACK}>
    Is there any update on this issue. Our team is also facing the same issue.
    0
  • I am gettting the same error message.

    It may be because I tried being cute with my email address? gmail allows you to append a + after your username so you can "customize" your email address for different recipients (for example to track the source of spam).

    In any case, now that email address seems to be irrevocably tied to my Developer Profile?

    I see it listed under my name in the Developer Dashboard but don't see any way of changing it?
    0
  • There was a recent system upgrade to the verification step that should have resolved this issue - please let me know if you continue to experience any issues with this.

    - Jon
    0
  • Hi,

    I am also (still) receiving this error for either a client/desktop app key or a browser app key. Has been happening all week for me and still is :)Tim. Morgan
    0
  • I just tried again and got same exact message as before.
    0
  • Thanks for letting me know - the bug has been re-opened and re-prioritized. As soon as it's updated I'll post back to the forums.

    - Jon
    0
  • Wrong board I know but same topic really (and I can't seem to find a BBAuth section anywhere)... the recently changed BBAuth registration process isn't working either - I can verify the domain fine but upon clicking continue are forwarded to a blank page.
    0
  • A few answers here...

    Regarding the OAuth issue, one of the engineering managers discovered something about the data copying that may cause an issue during validation. What he said was that if he text-select the filename by dragging the mouse, it is possible to pick up the "newline" character at the end of the filename. Essentially selecting the filename plus the empty line right after the filename. This may be an issue for some of you - but the problem is still being looked into for a more reliable solution.

    Demon, since the validation succeeded can you go to https://developer.apps.yahoo.com/dashboard/ and see if your BBAuth app (and keys) are available here? If so you should be able to go ahead and use them.

    - Jon
    0
  • Yeah I looked there and there are none registered. No \n in my filename either unfortunately :)
    0
  • Can you post the information that you are trying to validate with the application please? Domain name, app url, etc.

    Thanks,
    Jon

    QUOTE (Demon @ Sep 1 2009, 11:20 AM) <{POST_SNAPBACK}>
    Yeah I looked there and there are none registered. No \n in my filename either unfortunately :)
    0
  • No need, BBAuth Reg is working today :)Have also tried registering with the same paths using the live domain (demongamers.co.uk)
    0
  • the http slashes are only a typo in that message ;)
    0
  • I'm still unable to get an API Key. It's been almost a month! I even tried making another yahoo developer account but that didn't help.

    I tried various options for a Client/Desktop app but no success.

    Can anyone get an API key?
    0
  • Hi Demon,

    The problem with your URLs appears to be a server timeout problem. When I load up the URLs you provided the connection times out. The domain verifier will return a failure notice whenever it can't reach your server after a certain amount of time.

    Jonathan LeBlanc
    Technology Evangelist
    Yahoo! Developer Network
    Twitter: jcleblanc

    QUOTE (Demon @ Sep 2 2009, 08:17 AM) <{POST_SNAPBACK}>
    No need, BBAuth Reg is working today :)Have also tried registering with the same paths using the live domain (demongamers.co.uk)
    0
  • Tom, can you please provide the same information that Demon did for the verification step? Here's what I'll need specifically:
    - App URL
    - Domain URL
    - Title of the app
    - Description

    Thank you,
    Jon

    QUOTE (Tom @ Sep 11 2009, 07:09 PM) <{POST_SNAPBACK}>
    I'm still unable to get an API Key. It's been almost a month! I even tried making another yahoo developer account but that didn't help.

    I tried various options for a Client/Desktop app but no success.

    Can anyone get an API key?
    0
  • Application Name: YahooStocks
    Kind of application: Client/Desktop
    Description: Get summary information on stocks available on Yahoo Finance
    Favicon URL: None or http://www.yahoo.com/favicon.ico (neither works)
    Access Scopes: This app will only access public APIs, Web Services, or RSS feeds.
    0
  • Try removing the word Yahoo from the application name - this is something we recently learned is reserved. We within YDN will be adding this into FAQs shortly. Also, the favicon URL use of the Yahoo! favicons will be a problem too since that is copyrighted material.

    Try that and see if you can get through the process.

    - Jon

    QUOTE (Tom @ Sep 17 2009, 10:48 AM) <{POST_SNAPBACK}>
    Application Name: YahooStocks
    Kind of application: Client/Desktop
    Description: Get summary information on stocks available on Yahoo Finance
    Favicon URL: None or http://www.yahoo.com/favicon.ico (neither works)
    Access Scopes: This app will only access public APIs, Web Services, or RSS feeds.
    0
  • Okay, it works if I remove Yahoo from both the Application name and description.

    I'm a bit surprised that you can't have the word Yahoo in the description? My app will be using YQL to get information back from the Yahoo Finance pages so the use of "Yahoo" in the description (and application name for that matter) seems completely appropriate.
    0
  • I'm glad to hear that worked - I believe that the restricted use of Yahoo comes down to a branding and legal requirement but I can understand the frustration with not being able to directly reference Y! finance this way.

    - Jon
    0
  • Hi!

    I have a problem. I wanna create a script where user can login throught yahoo

    http://yap-studio.com/apps/tv-blog/
    source [http://developer.yahoo.com/social/updates/packages/tv-blog-demo_1.1.zip]

    ive changed config.inc - inserted my consumer key, consumer secret and application ID.
    added correct path for Yahoo.inc
    added JSON.php and QAuth.php the same dir where is Yahoo.inc

    I get the following error when requesting an unauthorized request token (first stage of OAuth):

    OAuth Error: Custom port is not allowed or the host is not registered with this consumer key.

    I have tried to understand where this script performing breaks and went till the place,
    where the following method getting called out YahooAuthorization::getRequestToken.

    after implementation of this line in that method (YahooAuthorization::getRequestToken)

    $response = $client->post($request_url, "application/x-www-form-urlencoded", $parameters);
    $response[responseBody] => OAuth Error: Custom port is not allowed or the host
    is not registered with this consumer key.
    and $response[code] => 401

    and YahooLogger::setDebugDestination('CONSOLE'); is showing
    ERROR - Failed to create request token2: unknown problem
    ERROR - Request token doesn't have a 'key' property


    here are the keys, that I use
    define("API_KEY","dj0yJmk9TEJ6aU5RUVpIakVhJmQ9WVdrOWVWbHZkbGx5TmpRbWNHbzlNVFkxTkRVNE5EZ3pPUS0
    tJnM9Y29uc3VtZXJzZWNyZXQmeD0xZQ--");
    define("SHARED_SECRET","6f8cad40de1877e72d617823270d22eb017fda01");

    here is a script, that I made for keys verification
    url: http://apps.yahoo.com/-yYovYr64
    source:
    <?php
    require_once('lib/Yahoo.inc');

    //define constants to store your API Key (Consumer Key) and Shared Secret (Consumer Secret)
    define("API_KEY","dj0yJmk9TEJ6aU5RUVpIakVhJmQ9WVdrOWVWbHZkbGx5TmpRbWNHbzlNVFkxTkRVNE5EZ3pPUS0
    tJnM9Y29uc3VtZXJzZWNyZXQmeD0xZQ--");
    define("SHARED_SECRET","6f8cad40de1877e72d617823270d22eb017fda01");

    //initializes session and redirects user to Yahoo! to sign in and then authorize app
    $yahoo_session = YahooSession::requireSession(API_KEY, SHARED_SECRET);

    //get currently logged in user
    $yahoo_user = $yahoo_session->getSessionedUser();

    var_dump($yahoo_user);
    ?>




    here is my app
    http://webdev.qarea.org/marcoss/yahoo/login/

    u can see debug info in firebug console

    Could you please show me where is my mistake and what do I do wrong?
    0
  • QUOTE (Jonathan LeBlanc @ Sep 17 2009, 11:57 AM) <{POST_SNAPBACK}>
    Try removing the word Yahoo from the application name - this is something we recently learned is reserved. We within YDN will be adding this into FAQs shortly. Also, the favicon URL use of the Yahoo! favicons will be a problem too since that is copyrighted material.

    Try that and see if you can get through the process.

    - Jon



    I was getting the same error as everyone else ("API key creation failed") and yes, this fixed it. How frustrating. I spent quite a while on this problem. Not only should it be added to a FAQ, but it should be IN THE ERROR MESSAGE ITSELF. There's absolutely no excuse for not giving that info in the error message.
    0
  • im getting the same problem, the darn favicon.<br><br>i set it to be a jpg, folder has 755, dimension is 16x16 and no luck
    0
    • Jul 17, 2012
    Jonathan,

    is it possible to charge for an application we are developing on YDN?

    Thanks

    RG
    0
  • There was an internal error that caused a failure over here. Please try again.
    having this problem when trying to register for desktop application key.
    0
  • But I tries almost the whole afternoon yesterday, and when I tried this morning, still no luck.
    Neither client-based nor web-based,, would somebody help me out of here??


    QUOTE(Stefan @ 1 Nov 2012 2:16 PM)
    There was an internal error that caused a failure over here. Please try again.
    having this problem when trying to register for desktop application key.
    0
  • This should be fixed now. So sorry for the inconvenience.  

    Robyn
    0

Recent Posts

in OAuth General Discussion YDN SDKs