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

[Data sync] Submission upload fails due to missing permissions #2616

Closed
gino-m opened this issue Aug 7, 2024 · 1 comment · Fixed by #2617
Closed

[Data sync] Submission upload fails due to missing permissions #2616

gino-m opened this issue Aug 7, 2024 · 1 comment · Fixed by #2617
Assignees
Labels
type: bug Something isn't working

Comments

@gino-m
Copy link
Collaborator

gino-m commented Aug 7, 2024

Error:

2024-08-07 16:58:54.629 13671-14625 Firestore               com.google.android.ground            W  (24.10.3) [Firestore]: Write failed at surveys/bef6MainpwLSK9hyTyFW/submissions/TvCzGYsKRIUvGfEGiIdk: Status{code=PERMISSION_DENIED, description=Missing or insufficient permissions., cause=null}
@gino-m gino-m added the type: bug Something isn't working label Aug 7, 2024
@gino-m gino-m self-assigned this Aug 7, 2024
@gino-m gino-m removed this from Ground Aug 7, 2024
@gino-m gino-m added this to the Beta release milestone Aug 7, 2024
@gino-m gino-m changed the title [Photo upload] Photo upload failed due to missing permissions [Data sync] Submission upload failed due to missing permissions Aug 7, 2024
@gino-m gino-m changed the title [Data sync] Submission upload failed due to missing permissions [Data sync] Submission upload fails due to missing permissions Aug 7, 2024
@gino-m
Copy link
Collaborator Author

gino-m commented Aug 7, 2024

This appears to be because user email is not added to audit info. We should set that as well as the new owner field to be forwards compatible.

@gino-m gino-m moved this to In Progress in Ground Aug 9, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Ground Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant