How to read a Json file from a url?
Hei Alexander -
You didn’t assign a category to your post. Can you provide some more context to your question?
Are you scripting, using a specific plug-in, …?
How to read a Json file in from a url? File is stored in Google Cloud Platform.
Will retrieve data from the json file that I will use to calculate quantities in Grasshopper. This Grasshopper file should be uploaded to Shapediver.
“Translated error: Could not read from URI: System.Net.WebException: The remote server returned the error (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse ()
by ShapeDiverForGrasshopper.ShapeDiverFileInputComponentBase.SolveInstance (IGH_DataAccess DA)”
Takker, Alexander -
I’m moving this to the
The exception says that the server returns status 403 (Forbidden), i.e. this is the problem that needs to be fixed. Your URL must be public, when pasting it into your browser address bar you should see the JSON file.