Skip to main content
Solved

Unable to fetch new file from GCS Bucket


I am new to Amplitude, I have configured a source to GCS for event data import. It imported first time when I have configured, but later whenI am pushing another files to GCP bucket with same extension and format it is not reading that file.

Best answer by Esther Trapadoux

Hi @anandraprinc and @mukkkkkk got it, and thanks for following the steps in the documentation. It could be a matter of event mapping as well, have you also seen the Guided Converter Creation section to see if there are any steps that may have been missed during setup: https://www.docs.developers.amplitude.com/data/sources/google-cloud-storage/?h=gc#guided-converter-creation 
 
A few more things to check otherwise:
 
Make sure you’ve taken care of some prerequisites.

  • Make sure you have admin permissions for your Amplitude org.
  • Make sure you have a GCS service account with the appropriate permissions. Learn more.
  • Make sure that a project exists to receive the data. If not, create a new project.
  • Make sure your GCS bucket has data files ready to be ingested. They must conform to the mappings that you outline in your converter file.
  • Make sure the data in your GCS bucket follows the format outlined in Amplitude's HTTP API v2 spec.
View original
Did this topic help you find an answer to your question?

7 replies

Esther Trapadoux
Community Manager
Forum|alt.badge.img+9

Hi @anandraprinc welcome to the community! Happy to help troubleshoot this. First off, when importing data from a Google Cloud Storage, we have some documentation here: https://www.docs.developers.amplitude.com/data/sources/google-cloud-storage/ 
 
Would you be able confirm that all pre-requisites are met for this integration and also where you might be seeing the sync behavior that you've described? 
 
After getting a bit more information around the behavior you're experiencing, I may be able to help further.


  • Author
  • New Member
  • 2 replies
  • April 17, 2023

Hello @Esther Trapadoux Thanks for your response.

I have followed the same documentation given here  https://www.docs.developers.amplitude.com/data/sources/google-cloud-storage/ 

I have done all the required setup and It also picked up data first time. 

But when the new files comes to GCP Bucket , It did not picked up.

I am not understanding the configuration given here https://www.docs.developers.amplitude.com/data/sources/google-cloud-storage/#storage-organization-requirements I think I might have missed something.

Thanks

Awaiting your response


  • New Member
  • 2 replies
  • April 20, 2023

I am running into the same issue. I followed the storage organization requirements to the best that I could. My files are in my bucket organised as follows:


<bucket-name>/amplitude/2023/04/19/11/whatthetest.json

My folder is amplitude. so that is the prefix. But the data is still not getting imported.


Esther Trapadoux
Community Manager
Forum|alt.badge.img+9

Hi @anandraprinc and @mukkkkkk got it, and thanks for following the steps in the documentation. It could be a matter of event mapping as well, have you also seen the Guided Converter Creation section to see if there are any steps that may have been missed during setup: https://www.docs.developers.amplitude.com/data/sources/google-cloud-storage/?h=gc#guided-converter-creation 
 
A few more things to check otherwise:
 
Make sure you’ve taken care of some prerequisites.

  • Make sure you have admin permissions for your Amplitude org.
  • Make sure you have a GCS service account with the appropriate permissions. Learn more.
  • Make sure that a project exists to receive the data. If not, create a new project.
  • Make sure your GCS bucket has data files ready to be ingested. They must conform to the mappings that you outline in your converter file.
  • Make sure the data in your GCS bucket follows the format outlined in Amplitude's HTTP API v2 spec.

  • Author
  • New Member
  • 2 replies
  • April 20, 2023

Thanks @Esther Trapadoux . It worked . I was doing mistake while storage organization requirements configuration. 

Thanks you so much.

 


Esther Trapadoux
Community Manager
Forum|alt.badge.img+9

@anandraprinc YAY!!!! Glad you got it to work. 🎉


  • New Member
  • 2 replies
  • April 20, 2023

Worked for me as well. It just took a day or so for it to start working. Not sure why that was the case but I just had to wait


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings