Unable to resolve Permission Error - Python and AWS EB

0

I created a Dash application that has been deployed to AWS Elastic Beanstalk. The application relies on the user uploading an Excel sheet to get the desired output.

In another Dash application I created previously, there were no problems while uploading the Excel sheet. This time around, I keep getting a PermissionError(13, 'Permission Denied') message.

The platform for my Dash applications are Python. Unfortunately, I haven't been able to see anyone else facing the same problem too.

Just for reference, the value of the PYTHONPATH environment property is "/var/app/venv/staging-LQM1lest/bin".

Moreover, I am using the EB management console and not the CLI.

Any tips on how to solve the problem would be much appreciated.

Thanks.

已提問 2 年前檢視次數 721 次
1 個回答
0

Not an expert here but the python error is usually file permission issue. eg user running process cannot access file due to file ownership or permissions. Probably need to check how the process is being run and how the permissions are set on the file being uploaded

AWS
專家
Peter_G
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南