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.

gefragt vor 2 Jahren720 Aufrufe
1 Antwort
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
EXPERTE
Peter_G
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen