del.icio.us API URL Switch

So, it would appear that the del.icio.us API URL has changed recently, and that it’s causing problems with Cocoalicious. I was able to solve the problem simply by opening Cocoalicious, going to Preferences, changing the API URL to:

https://api.del.icio.us/v1

…and then restarting. Let me know how that works for you (if it doesn’t, I’ll have to look into the problem a bit more).

(Update: Question for those who say it isn’t working. Are you restarting the app after changing the URL?)

(Update 2: Have you tried unchecking “automatically log in” in the preferences, then restarting and logging in?)

(Update 3: OK, I’m aware people are having problems–although it’s working OK for me–but I do not have the time to deal with this right now.  Sorry–I’ll look at it when I can.)

24 Responses to “del.icio.us API URL Switch”

  1. Matthew Crawley Says:

    Yes, Me again

    This is what I am getting in the Console when I launch:

    ===== Monday, August 14, 2006 9:58:06 AM US/Central =====
    2006-08-14 09:58:12.614 Cocoalicious[1034] NSError “Error NSURLErrorDomain -1012″ Domain=NSURLErrorDomain Code=-1012 UserInfo={
    NSErrorFailingURLKey = https://api.del.icio.us/v1/posts/update?;
    NSErrorFailingURLStringKey = “https://api.del.icio.us/v1/posts/update?”;
    }
    2006-08-14 09:58:12.615 Cocoalicious[1034] PARSE ERROR: NSError “Error NSXMLParserErrorDomain 5″ Domain=NSXMLParserErrorDomain Code=5

  2. nate Says:

    Unfortunately this fix didn’t work for me. :( Cocoalicious is a great product!

  3. Matt Says:

    Didn’t seem to work for me. I’m running build 43.

  4. Isaac Huang Says:

    I got this from console when launch:

    2006-08-18 00:46:00.477 Cocoalicious[415] NSError “Error NSURLErrorDomain -1012″ Domain=NSURLErrorDomain Code=-1012 UserInfo={
    NSErrorFailingURLKey = https://api.del.icio.us/v1/posts/all?;
    NSErrorFailingURLStringKey = “https://api.del.icio.us/v1/posts/all?”;
    }
    2006-08-18 00:46:00.478 Cocoalicious[415] PARSE ERROR: NSError “Error NSXMLParserErrorDomain 5″ Domain=NSXMLParserErrorDomain Code=5
    2006-08-18 00:46:00.479 Cocoalicious[415] can’t reload from disk or del.icio.us

  5. Isaac Huang Says:

    BTW. I’m using b43, and this works fine from the terminal:
    curl -u user:passwd -o fooooo.xml ‘https://api.del.icio.us/v1/posts/all?’

  6. Matthew Crawley Says:

    Any update on this? I am going to have to jump to another program if I can’t figure this out.

  7. David Says:

    I am geting the same error as Matthew Crawley.

  8. Jimmy Says:

    It’s working for me

    Don’t know if it’s because I have some private urls on del.icio.us

    thnx for cocoalicious =)

  9. Chip Cuccio Says:

    Didn’t work. Won’t allow me to login.

  10. Garron Says:

    This didn’t work for me either.

    Thanks,
    Garron

  11. bjoern Says:

    Changing the URL _and_ restarting the application dont work for me.

  12. Chip Cuccio Says:

    Yes, I’ve restarted, and uncheked the auto-login function.

    Still getting a “invalid username/password” error in the login box.

    Logging into my http://del.icio.us account works fine, as well as DeliBar.

    Here’s the error from the logs;

    2006-08-18 10:55:30.296 Cocoalicious[529] NSError "Error NSURLErrorDomain -1012" Domain=NSURLErrorDomain Code=-1012 UserInfo={
    NSErrorFailingURLKey = https://api.del.icio.us/v1/posts/update?;
    NSErrorFailingURLStringKey = “https://api.del.icio.us/v1/posts/update?”;
    }

  13. Matthew Crawley Says:

    Decided to work today. Don’t really know why.

  14. Matt Gifford Says:

    > Question for those who say it isn’t working. Are you restarting the app after changing the URL?

    Yes.

    > Have you tried unchecking “automatically log in” in the preferences, then restarting and logging in?

    Yes.

    Still not working.

  15. D'Arcy Norman Says:

    Tried nuking prefs, resetting the URL to the new one, quitting a bunch, nuking application support folder… no luck. I miss Cocoalicious :-)

  16. Avinash Meetoo Says:

    As Isaac Huang mentioned, curl can be used to confirm that del.icio.us is working properly (which is the case).

    I’ve checked the XML file returned with xmllint and it seems to be ok.

    The problem therefore lies where the NSXMLParser is used I suppose… Might this be related?

  17. Baldur Helgason Says:

    It works at home but not at work. This incident just shows how hooked I am on Cocoalicious and what a great program it is.

  18. DavidG Says:

    This error (-1012) is called “NSURLErrorUserCancelledAuthentication”.

  19. Alex Yule Says:

    Tried all your suggestions, still no dice. Here’s the console reporto…
    2006-08-24 12:25:37.046 Cocoalicious[405] NSError “Error NSURLErrorDomain -1012″ Domain=NSURLErrorDomain Code=-1012 UserInfo={
    NSErrorFailingURLKey = https://api.del.icio.us/v1/posts/all?;
    NSErrorFailingURLStringKey = “https://api.del.icio.us/v1/posts/all?”;
    }
    2006-08-24 12:25:37.047 Cocoalicious[405] PARSE ERROR: NSError “Error NSXMLParserErrorDomain 5″ Domain=NSXMLParserErrorDomain Code=5
    2006-08-24 12:25:37.048 Cocoalicious[405] can’t reload from disk or del.icio.us

    Is it as simple as Cocoalicious just forming the wrong queries? I guess I don’t really get how it works, so can’t offer any insight, but I hope you get it fixed soon, it’s a great app!!

  20. Chuck Says:

    2006-08-24 21:13:16.070 Cocoalicious[1600] NSError “Error NSURLErrorDomain -1012″ Domain=NSURLErrorDomain Code=-1012 UserInfo={
    NSErrorFailingURLKey = https://api.del.icio.us/v1/posts/all?;
    NSErrorFailingURLStringKey = “https://api.del.icio.us/v1/posts/all?”;
    }
    2006-08-24 21:13:16.070 Cocoalicious[1600] PARSE ERROR: NSError “Error NSXMLParserErrorDomain 5″ Domain=NSXMLParserErrorDomain Code=5
    2006-08-24 21:13:16.070 Cocoalicious[1600] can’t reload from disk or del.icio.us

  21. Theo Beack Says:

    I changed the URL as suggested (https://api.del.icio.us/v1) and restarted cocoalicious. Now I’m able to sync my tag cloud again.

  22. bjoern Says:

    So after a while using Pukka (and hating this shareware-reminder) i finally figured out how to get cocoa.licio.us up and running again:

    It seem there is a problem with the “https”-handling for the stored keychain entry and the configured API url in Cocoalicious. After manually changing the keychain entry to “https”, restarting the application and typing the password again, everything was fine for me.

    I am deliciousified, again. My life continues! :)

  23. Daniel Says:

    That worked like a charm for me too, Bjoern!

  24. Jay Datema Says:

    It worked for me, too.

    For more granularity:
    1. Open Keychain Access (/Applications/Utilities/Keychain Access.app
    2. Double-click on the api.delicious item
    3. Change the http://api.del.icio.us in the Where field to https://api.del.icio.us/v1
    4. Restart Cocoalicious

Leave a Reply