vvoovv / blosm

Blosm addon for Blender. A few clicks import of Google 3D cities, OpenStreetMap, terrain. Global coverage. Source code is in the branch 'release'.
1.6k stars 189 forks source link

[SOLVED] Forbidden, 403 Error when Importing Google 3D Tiles #356

Open GARNER2015 opened 1 year ago

GARNER2015 commented 1 year ago

HI,

Using Blender 3.6.0 and blosm 2.7 to import Google 3D Tiles, I get the following error

"Unable to process the root URI of the 3D Tiles: HTTP Error 403: Forbidden"

Screenshot 2023-07-03 142840 Screenshot 2023-07-03 142803

Other sources work fine, just not google, API key is unrestricted.

Any help would be appreciated.

vvoovv commented 1 year ago

Hi @GARNER2015

Most like there is a mistake in your Google 3D Tiles Key. Maybe a missing character?

Any, I can't tell the exact reason without trying your key. You can send me it to prokitektura+support@gmail.com

GARNER2015 commented 1 year ago

Hi,

It's all set up now, I didn't see that you have to enable the maps API on this page https://developers.google.com/maps/documentation/tile/cloud-setup#enabling-apis

vvoovv commented 1 year ago

@GARNER2015 Great that you solved the problem yourself!

Trife66 commented 1 year ago

Hi, the solution by @GARNER2015 Is a sleeper, I don't think most people would know to Enable. maybe the developer should put that on BLOSM front page For the premium users, I see that you have it in the FAQ section here on Github. just a suggestion,, good day🍻Cheers!!

vvoovv commented 1 year ago

Hi @Trife66

I mentioned it in the general documentation and twice in the Google 3D Tiles documentation (including the FAQ section).

Betohry commented 1 year ago

I Solve the 403 error, but the google data cames without 3d resolution, It cames flat.

vvoovv commented 1 year ago

@Betohry

Probably your area interest is not within 2500 cities across 49 countries with 3D data. You can check that out.

Betohry commented 1 year ago

@Betohry

Probably your area interest is not within 2500 cities across 49 countries with 3D data. You can check that out.

It is, Brazil "são José dos campos" -45.90761,-23.20692,-45.90463,-23.20378 image

vvoovv commented 1 year ago

It is, Brazil "são José dos campos" -45.90761,-23.20692,-45.90463,-23.20378

Sorry, your area of interest doesn't have real 3D content. You could try importing something else.

Betohry commented 1 year ago

It is, Brazil "são José dos campos" -45.90761,-23.20692,-45.90463,-23.20378

Sorry, your area of interest doesn't have real 3D content. You could try importing something else.

Yes I look for NY and I made it, thanks, but google says that Brazil have, how you find this? Brazil is too large, maybe a couple of cities has 3d, but I dont now how I can knew this before, given that they only talk about countries not about cities thanks

vvoovv commented 1 year ago

@Betohry

Areas with real 3D content are marked at https://developers.google.com/maps/coverage

Betohry commented 1 year ago

@Betohry

Areas with real 3D content are marked at https://developers.google.com/maps/coverage

Thanks!, I made my street here, because Im in São Paulo, São josé dos Campos is a countryside

MANYAL77 commented 11 months ago

Following this thread and trying to find other options I still have the same problem not being able to solve it. I did enable the google map tiles api and tried different locations but there is no way to make it work. The reason I subscribed is to use this blender addon and I am very disappointed. I would appreciate any help. Thank you

vvoovv commented 11 months ago

Hi @MANYAL77

Please post a screenshot of your error.

MANYAL77 commented 11 months ago

maps api enable blender 3 6 error I am using Blender 3.6 version. I hope this helps but is the same error as the thread. Thanks for getting back to me

vvoovv commented 11 months ago

@MANYAL77

Map Tiles API is not enabled. Please press the ENABLE button.

MANYAL77 commented 11 months ago

Hi there and thank you for your answer. I though I had map tiles enabled as shown in the image I sent together with my request.

As we mention this issue, Do I need to enter google cloud every time I like to use the addon, and go thru the process enabling map tiles? Is there anyway to keep the preferences saved?

I haven´t tried using the addon again, but I will let you know whether I am able to make it work

Regards

Fernando

De: vvoovv @.> Enviado el: lunes, 4 de diciembre de 2023 9:37 Para: vvoovv/blosm @.> CC: MANYAL77 @.>; Mention @.> Asunto: Re: [vvoovv/blosm] [SOLVED] Forbidden, 403 Error when Importing Google 3D Tiles (Issue #356)

@MANYAL77 https://github.com/MANYAL77

Map Tiles API is not enabled. Please press the ENABLE button.

— Reply to this email directly, view it on GitHub https://github.com/vvoovv/blosm/issues/356#issuecomment-1838069875 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BEN37Y2ZRKDMZERO45UWHMDYHWDTNAVCNFSM6AAAAAAZ4O4YXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZYGA3DSOBXGU . You are receiving this because you were mentioned.Message ID: @.***>

vvoovv commented 11 months ago

@MANYAL77

Map Tiles API were not enabled according to your screenshot. Please press the button ENABLE.

image

MANYAL77 commented 11 months ago

Thank you,

I was missreading the enable/disable promt. I´ve just tried out and was succesfull. Keep up the good work, it is a great help to provide environment to our projects

Regards

Fernando

De: vvoovv @.> Enviado el: lunes, 11 de diciembre de 2023 10:22 Para: vvoovv/blosm @.> CC: MANYAL77 @.>; Mention @.> Asunto: Re: [vvoovv/blosm] [SOLVED] Forbidden, 403 Error when Importing Google 3D Tiles (Issue #356)

@MANYAL77 https://github.com/MANYAL77

Map Tiles API were not enabled according to your screenshot. Please press the button ENABLE.

image.png (view on web) https://github.com/vvoovv/blosm/assets/613295/6d20b19a-a076-4e14-b93b-ad09f312cd81

— Reply to this email directly, view it on GitHub https://github.com/vvoovv/blosm/issues/356#issuecomment-1849633503 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BEN37YYXKJ7A54OJZWL6QYDYI3GE7AVCNFSM6AAAAAAZ4O4YXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZGYZTGNJQGM . You are receiving this because you were mentioned.Message ID: @.***>

AndriiVoloshin commented 10 months ago

Friends, hello everyone! Same problem as described above. Unable to process the root URL of the 3d tiles. Error 404 not found. As far as I understand, the payment information is not configured correctly. How can I reconfigure it? I indicated the card, the name, should there be 200 dollars on the card?

vvoovv commented 10 months ago

Hi @AndriiVoloshin

It must be a valid debit or credit card.

AndriiVoloshin commented 10 months ago

Thanks for the answer. I have linked a valid credit card. But the error is the same. Perhaps because I live in Ukraine?

vvoovv commented 10 months ago

Perhaps because I live in Ukraine?

I don't think that it's the reason.

What is the output of https://tile.googleapis.com/v1/3dtiles/root.json?key=YOUR_API_KEY? Replace YOUR_API_KEY with your 3D Tiles API Key.

AndriiVoloshin commented 10 months ago

Thanks for the answer. Can you write me a link just up to the point where I have to insert my key? I tried both with and without the equal sign and it still gives a 404 error.

AndriiVoloshin commented 10 months ago

{ "error": { "code": 404, "message": "Requested entity was not found.", "status": "NOT_FOUND" } }

vvoovv commented 10 months ago

@AndriiVoloshin

Please send your key to prokitektura+support@gmail.com. I'll check it out.

AndriiVoloshin commented 10 months ago

I did it. Thank you

vvoovv commented 10 months ago

{ "error": { "code": 404, "message": "Requested entity was not found.", "status": "NOT_FOUND" } }

I am getting the same. Please check your billing information.

How does the billing page look for you?

AndriiVoloshin commented 10 months ago

I dial my card, he tells me the transaction has declined. But I pay for purchases on the Internet with this card. I don't understand.

вс, 24 дек. 2023 г. в 17:23, vvoovv @.***>:

{ "error": { "code": 404, "message": "Requested entity was not found.", "status": "NOT_FOUND" } }

I am getting the same. Please check your billing information.

How does the billing page https://console.cloud.google.com/projectselector2/billing look for you?

— Reply to this email directly, view it on GitHub https://github.com/vvoovv/blosm/issues/356#issuecomment-1868540962, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE4RSV2NEVIEL2U662KCR4DYLBCGDAVCNFSM6AAAAAAZ4O4YXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGU2DAOJWGI . You are receiving this because you were mentioned.Message ID: @.***>

AndriiVoloshin commented 10 months ago

The page is clean.

вс, 24 дек. 2023 г. в 17:23, vvoovv @.***>:

{ "error": { "code": 404, "message": "Requested entity was not found.", "status": "NOT_FOUND" } }

I am getting the same. Please check your billing information.

How does the billing page https://console.cloud.google.com/projectselector2/billing look for you?

— Reply to this email directly, view it on GitHub https://github.com/vvoovv/blosm/issues/356#issuecomment-1868540962, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE4RSV2NEVIEL2U662KCR4DYLBCGDAVCNFSM6AAAAAAZ4O4YXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGU2DAOJWGI . You are receiving this because you were mentioned.Message ID: @.***>

AndriiVoloshin commented 10 months ago

I contacted the bank, they could not answer me. I connected a card from another bank and everything worked. thanks for the answers and patience.

skeler7 commented 8 months ago

image

vvoovv commented 8 months ago

Hi @skeler7

What version of the Blosm addon are you using?

skeler7 commented 8 months ago

Hi @skeler7

What version of the Blosm addon are you using?

2.7.2

vvoovv commented 8 months ago

@skeler7

Please install the latest version of the Blosm addon (currently 2.7.5). I hope this helps.

skeler7 commented 8 months ago

@skeler7

Please install the latest version of the Blosm addon (currently 2.7.5). I hope this helps.

Thank you

DigitalForceEU commented 4 months ago

I also had a 403 error.

With the test url you supplied; https://tile.googleapis.com/v1/3dtiles/root.json?key=YOUR_API_KEY?

I got this;

{ "error": { "code": 403, "message": "Requests from referer \u003cempty\u003e are blocked.", "status": "PERMISSION_DENIED", "details": [ { "@type": "type.googleapis.com/google.rpc.ErrorInfo", "reason": "API_KEY_HTTP_REFERRER_BLOCKED", "domain": "googleapis.com", "metadata": { "service": "tile.googleapis.com", "consumer": "*****" } } ] } }

Problem was; I had restrictions on my Api key. Just go in Google to your api keys and take a look at the key restrictions. This topic saved me a lot of time. Maybe this helps someone out.