Skip to content

Get Json from Google-Drive work on Windows but not on Mac #482

@PeterOstermann

Description

@PeterOstermann

Hi,

The follow script returns Status-Code 301 on Mac (macOS Catalina).
On Windows it works fine.
Can you resolve it?

Greetings Peter

I use Excel Version 16.16.27 (201012) on Mac.
I use Excl Version 16.0.15629.20152 on Windows 10.

Sub web()
Dim Client As New WebClient
Dim Url As String
Url = "http://drive.google.com/uc?export=download&id=14xMSYLPMZNxCslpzbzUiiRbkmiG7nCeS"
Dim Response As WebResponse
Client.FollowRedirects = True
Set Response = Client.GetJson(Url)
Debug.Print Response.Data("letzte_esra_version")
End Sub

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions