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

Unable to retrieve files: googleapi: Error 404: File not found: ., notFound #21

Open
kapilsharma-gts opened this issue Oct 8, 2023 · 3 comments

Comments

@kapilsharma-gts
Copy link

**> Run adityak74/google-drive-upload-git-action@main

/usr/bin/docker run --name b61ecae8ee7a346848db5631a69d3932e_710d25 --label 94351b --workdir /github/workspace --rm -e "JAVA_HOME_12.0.2_x64" -e "JAVA_HOME" -e "JAVA_HOME_12_0_2_X64" -e "FLUTTER_ROOT" -e "PUB_CACHE" -e "INPUT_CREDENTIALS" -e "INPUT_FILENAME" -e "INPUT_FOLDERID" -e "INPUT_NAME" -e "INPUT_OVERWRITE" -e "INPUT_MINETYPE" -e "INPUT_MIMETYPE" -e "INPUT_USECOMPLETESOURCEFILENAMEASNAME" -e "INPUT_MIRRORDIRECTORYSTRUCTURE" -e "INPUT_NAMEPREFIX" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/karmm_astro_app/karmm_astro_app":"/github/workspace" 94351b:61ecae8ee7a346848db5631a69d3932e
Files: [build/app/outputs/flutter-apk/app-release.apk]
useCompleteSourceFilenameAsName is disabled.
mirrorDirectoryStructure is disabled.
Processing file build/app/outputs/flutter-apk/app-release.apk
target file name: karmm.apk
2023/10/08 17:30:22 Unable to retrieve files: googleapi: Error 404: File not found: ., notFoundRun adityak74/google-drive-upload-git-action@main
/usr/bin/docker run --name b61ecae8ee7a346848db5631a69d3932e_710d25 --label 94351b --workdir /github/workspace --rm -e "JAVA_HOME_12.0.2_x64" -e "JAVA_HOME" -e "JAVA_HOME_12_0_2_X64" -e "FLUTTER_ROOT" -e "PUB_CACHE" -e "INPUT_CREDENTIALS" -e "INPUT_FILENAME" -e "INPUT_FOLDERID" -e "INPUT_NAME" -e "INPUT_OVERWRITE" -e "INPUT_MINETYPE" -e "INPUT_MIMETYPE" -e "INPUT_USECOMPLETESOURCEFILENAMEASNAME" -e "INPUT_MIRRORDIRECTORYSTRUCTURE" -e "INPUT_NAMEPREFIX" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/karmm_astro_app/karmm_astro_app":"/github/workspace" 94351b:61ecae8ee7a346848db5631a69d3932e
Files: [build/app/outputs/flutter-apk/app-release.apk]
useCompleteSourceFilenameAsName is disabled.
mirrorDirectoryStructure is disabled.
Processing file build/app/outputs/flutter-apk/app-release.apk
target file name: karmm.apk
2023/10/08 17:30:22 Unable to retrieve files: googleapi: Error 404: File not found: ., notFound**

@SkYNewZ
Copy link

SkYNewZ commented Dec 3, 2023

Same error on me when using overwrite option.
Unable to retrieve files: googleapi: Error 400: Invalid Value, invalid

@dz0l038
Copy link

dz0l038 commented Dec 20, 2023

Same here:
Error: creating/updating file failed with error: googleapi: Error 404: File not found: ***., notFound
with adityak74/[email protected]

Did you have any workaround?

@yumamurakami
Copy link

I was in the same situation.
I gave write permission to write the email address of the service account for the folder I was uploading to.
As a result, it uploaded successfully. If you haven't tried this, I suggest you do.

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

4 participants