pollination-apps / parametric-study

An app to run parametric studies on Pollination
GNU Affero General Public License v3.0
0 stars 1 forks source link

HTTPError: 403 Client Error: Forbidden for url #19

Open adalbertogc1 opened 1 year ago

adalbertogc1 commented 1 year ago

Hello, At step number 4 in this app, I got the error message below, apparently there is a permission error trying to access/create a jobs folder?

I can see my project has been populate with a few hbjson files, hence, the API key and other user data is correct. Is there anything that I am doing wrong?

image
HTTPError: 403 Client Error: Forbidden for url: https://api.pollination.cloud/projects/adalbertogc/parametric_study/jobs
Traceback:
File "c:\users\adalbertoguerracabre\documents\pollination_apps\parametric-study\venv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script
    exec(code, module.__dict__)
File "C:\Users\AdalbertoGuerraCabre\Documents\pollination_apps\parametric-study\app.py", line 109, in <module>
    main()
File "C:\Users\AdalbertoGuerraCabre\Documents\pollination_apps\parametric-study\app.py", line 80, in main
    job_url = submit(st.session_state.design_options)
File "C:\Users\AdalbertoGuerraCabre\Documents\pollination_apps\parametric-study\submit.py", line 81, in submit
    running_job = submit_job(new_job)
File "C:\Users\AdalbertoGuerraCabre\Documents\pollination_apps\parametric-study\submit.py", line 70, in submit_job
    running_job = job.create()
File "c:\users\adalbertoguerracabre\documents\pollination_apps\parametric-study\venv\lib\site-packages\pollination_streamlit\interactors.py", line 166, in create
    job_id = self.job_api.create_job(self.owner, self.project, qb_job)
File "c:\users\adalbertoguerracabre\documents\pollination_apps\parametric-study\venv\lib\site-packages\pollination_streamlit\api\jobs.py", line 31, in create_job
    json=job.dict()
File "c:\users\adalbertoguerracabre\documents\pollination_apps\parametric-study\venv\lib\site-packages\pollination_streamlit\api\client.py", line 90, in post
    res.raise_for_status()
File "c:\users\adalbertoguerracabre\documents\pollination_apps\parametric-study\venv\lib\site-packages\requests\models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
mostaphaRoudsari commented 1 year ago

Hi, @adalbertogc1 - Glad to see that you started testing the apps. You should probably post your questions on the forum under the apps category: https://discourse.pollination.cloud/c/apps/11 - things can get lost on GitHub.

If I have to guess this is happening because your project name on Pollination is parametric-study but the link is looking for parameteric_study. Note the difference between - and _