Hi @mohamedr002 thank you for writing in! Can you please confirm you wandb version, and if you could try again by upgrading to our latest SDK version 0.13.6? Your one line code is correct and works for me, so could you also check running the following:
api = wandb.Api()
p = api.project('PROJECT', entity='ENTITY')
Would this return a URL to your project, and can you see if there are Sweeps in it?
Hi @mohamedr002 since we haven’t heard back from you, I will go ahead and close this ticket for now. If you’re still experiencing any issue retrieving the sweeps please let us know and we will be happy to keep investigating!