Hey,
I am facing the same issues while importing my cloud bucket data from local
to emulator. I am using the command :-
curl -X POST localhost:23868/v1/projects/<project-id>:import -H 'Content-Type:
application/json' -d
'{"input_url":"<path-to-overall_export_metadata>.overall_export_metadata"}'
The error message I am getting is
{"error":{"code":400,"message":"Failed to parse overall export metadata
file","status":"INVALID_ARGUMENT"}}
Please suggest me if anything.
On Friday, November 1, 2019 at 10:34:43 PM UTC+5:30, Nikitha Kamath wrote:
>
> 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!
>
--
Please consider the environment before
printing this mail
The
information contained in this e-mail is private & confidential and may also
be legally privileged. If you are not the intended recipient of this mail,
please notify us, preferably by e-mail; and do not read, copy or disclose
the
contents of this message to anyone. Whilst we have taken reasonable
precautions
to ensure that any attachment to this e-mail has been swept for
viruses, e-mail
communications cannot be guaranteed to be secure or error
free, as information
can be corrupted, intercepted, lost or contain
viruses. We do not accept
liability for such matter or their consequences
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/822502be-2bf0-49cd-86b7-67d11a02b41b%40googlegroups.com.