Build Error - Bad Request
Hi - I am seeing an unexpected “Bad Request” build error without any explanation, even when I switch to paid hardware for my spaces. All spaces that have already been built seem to be working fine even on the free hardware tier. It’s been happening throughout the past 16 hours or so for me. Is anyone else seeing this with their spaces?
2023-02-16T19:14:55Z
hi@vamsi-tetali, we had some internal issues solved now, could you please try again?
2023-02-16T19:30:28Z
Thank you,@radames. Just tried but still seeing the issue in the two spaces I tried.
2023-02-16T19:50:23Z
ok, we had some build queue issue earlier, solved now. Maybe you Bad Request” is another issue, could you share your Space?
2023-02-16T19:53:17Z
It looks like mine is related to using a private model through a huggingface access token. Below is the error:Traceback (most recent call last):
  File "app.py", line 25, in <module>
    model = SentenceTransformer('synente/nli-distilroberta-base-v2finetuned_model_jan2', use_auth_token=REDACTED_TOKEN_token)
  File "/home/user/.local/lib/python3.8/site-packages/sentence_transformers/SentenceTransformer.py", line 87, in __init__
    snapshot_download(model_name_or_path,
  File "/home/user/.local/lib/python3.8/site-packages/sentence_transformers/util.py", line 491, in snapshot_download
    path = cached_download(**cached_download_args)
  File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 124, in _inner_fn
    return fn(*args, **kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 778, in cached_download
    http_get(
  File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 512, in http_get
    REDACTED_TOKEN_for_status(r)
  File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 314, in REDACTED_TOKEN_for_status
    raise BadRequestError(message, response=response) from e
huggingface_hub.utils._errors.BadRequestError: 

Bad request:The space’s name is synente/description_split_and_match. It is a private space and the model being accessed is also a private model.
2023-02-17T09:58:03Z
hi@vamsi-tetalicould you please try again?Git push rejected🤗DatasetsHello, 
We have investigated the problem, and we have deployed a fix for it, let me know if happens again 
Cheers
2023-02-17T12:45:36Z
Worked this time. Thank you!