Hi

I have configured datastore emulator and it is running successfully. But 
when I export or import entities it is returning error. I am using Windows 
and below are the commands -

---------- Export --------------
curl -X POST localhost:8081/v1/projects/<project-id>:export -H "Content-Type: 
application/json" -d 
"{\"output_url_prefix\":\"C:\Users\<user>\Desktop\Data\"}"

Returns ->
{"error":{"code":500,"message":"Failed to export entities.","status":
"INTERNAL"}}


---------- Import ---------------
curl -X POST localhost:8081/v1/projects/<project-id>:import -H "Content-Type: 
application/json" -d 
"{\"input_url\":\"C:/Users/<user>/Desktop/Data/file.overall_export_metadata\"}"


Returns ->
{"error":{"code":400,"message":"Failed to parse overall export metadata 
file","status":"INVALID_ARGUMENT"}}

Import error is due to the absence of the exported file.


Please help!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a197166f-10ee-4819-9879-adce933e04ef%40googlegroups.com.
  • [google-appengine... Nikitha Kamath

Reply via email to