Open kazuyaseki opened 6 hours ago
Describe the bug I followed Quickstart and when I tried to run SDK, it throws error 404
--------------------------------------------------------------------------- HTTPStatusError Traceback (most recent call last) [/usr/local/lib/python3.10/dist-packages/argilla/_exceptions/_api.py](https://localhost:8080/#) in _handler_wrapper(*args, **kwargs) 90 try: ---> 91 return func(*args, **kwargs) 92 except HTTPStatusError as e: 7 frames HTTPStatusError: Client error '404 Not Found' for url 'https://*****.hf.space/api/v1/me' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404 During handling of the above exception, another exception occurred: NotFoundError Traceback (most recent call last) [/usr/local/lib/python3.10/dist-packages/argilla/_exceptions/_api.py](https://localhost:8080/#) in _error_switch(status_code, error_detail) 85 } 86 exception_class = switch.get(status_code, ArgillaAPIError) ---> 87 raise exception_class(f"{exception_class.message}. Details: {error_detail}", status_code=status_code) 88 89 def _handler_wrapper(*args, **kwargs): NotFoundError: Argilla SDK error: NotFoundError: Resource or entity not found on the server. Details: <!DOCTYPE html> <html class=""> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" /> <meta name="description" content="We’re on a journey to advance and democratize artificial intelligence through open source and open science." /> <meta property="fb:app_id" content="1321688464574422"/> <meta name="twitter:card" content="summary_large_image"/> <meta name="twitter:site" content="@huggingface"/> <meta property="og:title" content="Hugging Face – The AI community building the future." /> <meta property="og:type" content="website"/> <title>Hugging Face – The AI community building the future.</title> <style> body { margin: 0; } main { background-color: white; min-height: 100vh; text-align: center; font-family: Source Sans Pro, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; } img { width: 6rem; height: 6rem; margin: 7rem 1rem 1rem; } h1 { font-size: 3.75rem; line-height: 1; color: rgba(31, 41, 55, 1); font-weight: 700; box-sizing: border-box; margin: 0 auto; } p { color: rgba(107, 114, 128, 1); font-size: 1.125rem; line-height: 1.75rem; max-width: 28rem; box-sizing: border-box; margin: 0 auto; } .dark main { background-color: rgb(11, 15, 25); } .dark h1 { color: rgb(209, 213, 219); } .dark p { color: rgb(156, 163, 175); } </style> <script> // On page load or when changing themes, best to add inline in `head` to avoid FOUC const key = "_tb_global_settings"; let theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"; try { const storageTheme = JSON.parse(window.localStorage.getItem(key)).theme; if (storageTheme) { theme = storageTheme === "dark" ? "dark" : "light"; } } catch (e) { } if (theme === "dark") { document.documentElement.classList.add("dark"); } else { document.documentElement.classList.remove("dark"); } </script> </head> <body> <main> <img src="https://huggingface.co/front/assets/huggingface_logo.svg" alt="" /> <div> <h1>404</h1> <p>Sorry, we can’t find the page you are looking for.</p> </div> </main> </body> </html>
To Reproduce
Expected behavior being able to use SDK
Screenshots
Environment (please complete the following information): Colab
Hi @kazuyaseki !
Could you check if your Argilla Space is public?
If you don't want to make it public, you can still use the SDK but need to pass an HF_TOKEN to connect, see this snippet:
https://docs.argilla.io/latest/getting_started/how-to-configure-argilla-on-huggingface/#how-to-use-private-spaces
Describe the bug I followed Quickstart and when I tried to run SDK, it throws error 404
To Reproduce
Expected behavior being able to use SDK
Screenshots
Environment (please complete the following information): Colab