Broken Workspace? Can't get ID.

Answered

Comments

6 comments

  • Patrick Steil

    I'm not in front of my computer right now but you can use the API reference area to call some of these APIs and test out how to get the workspace ID.

    There should be a API where you can get the workspace from the workspace URL but definitely know the API to get an app from an app URL will then give you the space ID.

    Patrick Steil

    http://www.PodioTools.com

    0
    Comment actions Permalink
  • Patrick Steil

    Try plugging in your URL on this page

    https://developers.podio.com/doc/spaces/get-space-by-url-22481

    0
    Comment actions Permalink
  • Louis-Philippe Papillon

    Thanks for your suggestion Patrick but I did use the space_url API to get the ID and it returns a not_found error like below:

    {"error_parameters"=>{}, "error_detail"=>nil, "error_propagate"=>false, "request"=>{"url"=>"http://api.podio.com/space/url", "query_string"=>"url=https%3A%2F%2Fpodio.com%2Fproxitelecomcom%2Faffaires", "method"=>"GET"}, "error_description"=>"Object not found", "error"=>"not_found"}

    I know the URL is good it leads me to my workspace... This is why I think my slug change broke my Workspace. Mind you it works well but I'm guessing something has not been updated somewhere and the API can't find it by URL.

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    Hi,

    You can resolve space URLs (and many other URLs) at https://developers.podio.com/doc/reference/resolve-url-66839423

    All the best,

    Andreas

    0
    Comment actions Permalink
  • Louis-Philippe Papillon

    Thanks Andreas,

    The space_by_url API still gives an error which I still find odd, but the Resolve API worked and I was able to get the ID.

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    Hi Louis-Philippe,

    Good thing you got things working. I've opened an internal bug report on the space_by_url operation so we can get that fixed as well.

    All the best,

    Andreas

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk