Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.3 cannot upload file - Error 404 returned #13

Open
lpdx opened this issue Dec 7, 2022 · 4 comments
Open

V0.3 cannot upload file - Error 404 returned #13

lpdx opened this issue Dec 7, 2022 · 4 comments

Comments

@lpdx
Copy link

lpdx commented Dec 7, 2022

My action script

name: On Push Run

on: push

jobs:
  install_conda:
    runs-on: ubuntu-latest
    steps:
      - name: Upload to gdrive
        uses: adityak74/google-drive-upload-git-action@main
        with:
          credentials: ${{ secrets.GDRIVE_CREDENTIALS }}
          filename: "file.pdf"
          folderId: ${{ secrets.GDRIVE_FOLDER_ID }}
          overwrite: "true" # optional boolean

And I'm getting this message
2022/12/07 20:34:53 Unable to retrieve files: googleapi: Error 404: File not found: ., notFound.

Other info

  • The file exists in the root folder;
  • The GDRIVE_FOLDER_ID is acessible since I use it in another Python project;
  • The service account is cofigured as owner.
@sushmoyr
Copy link

sushmoyr commented Mar 6, 2023

I am facing simillar issue. Did you fix it?

@lpdx
Copy link
Author

lpdx commented Mar 6, 2023

Unfortunately not yet.

@ahmed-ashraf
Copy link

Did you fix it?

@lpdx
Copy link
Author

lpdx commented Aug 7, 2023

Did you fix it?

I used another solution without the action script to upload the file. Since my project is in Python, I used this starkoverflow answer as starting point https://stackoverflow.com/a/55876179

I'm keeping this issue open because it would be better to my project use the action script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants