Skip to main content
Solved

Upload Data Tabels with API

  • October 6, 2025
  • 5 replies
  • 76 views

Alex3Lee5
Forum|alt.badge.img+1

Hello,
Does anyone was able to  upload data tables by api, we have this documentation, but when trying to make the post we get error saying that the "Service Unavailable for url” 
https://cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dataTables/upload?rep_location=us

Using this 
"POST https://chronicle.us.rep.googleapis.com/upload/v1alpha/{parent}/dataTables:bulkCreateDataTableAsync”

Best answer by David-French

@Alex3Lee5 my URL looks like this: https://us-chronicle.googleapis.com/upload/v1alpha/{parent}/dataTables:bulkCreateDataTableAsync

Can you try using the prefix https://us-chronicle.googleapis.com and let me know how it goes?

5 replies

David-French
Staff
Forum|alt.badge.img+9

Hi ​@Alex3Lee5,

I use that API method regularly. Here is the code I use that you might find helpful.

Please let me know if that helps.


Alex3Lee5
Forum|alt.badge.img+1
  • Author
  • New Member
  • October 6, 2025

Hi ​@David-French ,
In this code the url that use to make the post are variables could you confirm if the url used is this one ?
https://chronicle.us.rep.googleapis.com/upload/v1alpha/{parent}/dataTables:bulkCreateDataTableAsync
Or its another ?


David-French
Staff
Forum|alt.badge.img+9
  • Staff
  • Answer
  • October 6, 2025

@Alex3Lee5 my URL looks like this: https://us-chronicle.googleapis.com/upload/v1alpha/{parent}/dataTables:bulkCreateDataTableAsync

Can you try using the prefix https://us-chronicle.googleapis.com and let me know how it goes?


Alex3Lee5
Forum|alt.badge.img+1
  • Author
  • New Member
  • October 6, 2025

I got the error 40 Not Found.
*Correction the new url went with the error 400 with bad request, i will adjust the payload and check, thanks


Alex3Lee5
Forum|alt.badge.img+1
  • Author
  • New Member
  • October 6, 2025

@David-French  the solution worked thanks.