Error: invalid_request device_id and device_name are required for private IP

后端 未结 6 493
眼角桃花
眼角桃花 2020-11-30 08:53

I was doing my development with Google Drive API using [localhost:8080]. Suddenly I felt to test it in my local deployment sandbox and it has IP address as [192.168.1.1:8080

6条回答
  •  天涯浪人
    2020-11-30 09:23

    I got the same error until I changed it from an IP address to a domain name, (192.168.1.113 to localhost in my case) so it looks like Google won't accept bare IP addresses.

    Use a domain name for your sandbox, or setup a local domain server if you don't have one.

提交回复
热议问题