PhotoSphereStudio icon indicating copy to clipboard operation
PhotoSphereStudio copied to clipboard

Can't upload panoramic photos, what ever I try

Open jojo-gfx opened this issue 8 months ago • 30 comments

I was try it on https://maps.moomoo.me/ but absolute no success? I tried out panos directly from my DJI drohne (Mini 3 pro) and also generated ones from "PanoramaStudio 3 Pro) but everytime I get an error to fix anything, but the data is correct, what I can see. Has google changed anything so it doesn't work anymore?

So, the upload of the file to the server seems to work, only the integration into the Google API doesn't work. The upload starts, the map shows the correct location then, but after click on the upload button below leads after a while to an error.

Here the data of one of my test images (Date view of "Exif Fixer"):

-xmp:ProjectionType=equirectangular -xmp:CroppedAreaLeftPixels=0 -xmp:CroppedAreaTopPixels=0 -xmp:CroppedAreaImageWidthPixels=17984 -xmp:CroppedAreaImageHeightPixels=8992 -xmp:FullPanoWidthPixels=17984 -xmp:FullPanoHeightPixels=8992 -xmp:UsePanoramaViewer=true -xmp:PoseHeadingDegrees=0.0

Filesize: 13MB

Debug information from Google API isn't helpful: { "error": { "code": 400, "message": "The image is not a 360 photo.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.rpc.ErrorInfo", "metadata": { "EXTERNAL_MESSAGE": "The image is not a 360 photo." } } ] } }

If I upload my images directly per Google to Landmarks, Google itself has never had a problem with my images and does show it correctly in panoramic viewer.

jojo-gfx avatar Apr 21 '25 08:04 jojo-gfx

I second this, even photos previously fine won’t upload I get 400 error on everything, seems like a problem on the google end

dandaman123456 avatar Apr 21 '25 13:04 dandaman123456

The problem doesn't seem to come from maps.moom0o. I can't upload my photospheres from the insta360 app either, which worked last week.

Jaw-Kneee avatar Apr 21 '25 13:04 Jaw-Kneee

Yes, could it be the API has changed a bit? This sounds so: "status": "INVALID_ARGUMENT",

jojo-gfx avatar Apr 21 '25 14:04 jojo-gfx

According to reports here and elsewhere, Google seems to be restricting some (many? most??) accounts from uploading photospheres through this API, and it gives this (very unhelpful and misleading) error when you try to upload from a restricted account.

ejheil avatar Apr 22 '25 22:04 ejheil

My Google account with hundreds of photos still works but I tried another account without any photos and didn't work. Not sure what much can be done besides trying different accounts

moom0o avatar Apr 23 '25 00:04 moom0o

My google account with tons of photos got locked out -- then I created a brand new account and it did work with that one. Some clarity from Google about this would be really nice :(

ejheil avatar Apr 23 '25 00:04 ejheil

This ErrorInfo from Google sounds not like account problems: "EXTERNAL_MESSAGE": "The image is not a 360 photo." Seems, a metadata goes wrong.

Also my account mit a big amount of photos and 360degree photos seems to be ok, because upload content direct per google isn't a problem.

Is here an official Google API used für upload to Googles servers?

jojo-gfx avatar Apr 23 '25 06:04 jojo-gfx

@jojo-gfx yes, that is why I called it "misleading and unhelpful," it sounds like it is a problem with the photo but in fact, it appears to be an issue with the account.

If your account is affected, no photos will be recognized as valid, no matter how correct the metadata.

ejheil avatar Apr 23 '25 12:04 ejheil

@ejheil I don't think it's a problem with Google account. Because a few days ago, I created a new Google account and uploaded a picture with it, and the first 3-4 pictures went up well, and then the same error phrase appeared. Since then, my new account has been getting the same '400: INVALID_ARGUMENT' error all the time.

iseanpark avatar Apr 23 '25 23:04 iseanpark

See, I think it is a problem with your original account, and it is a problem that then attached itself to your new account.

I saw somebody on a Facebook thread on this topic talking about AI recognition of panoramas?

This is speculation but I think they are trying to detect people who upload bad panoramas. They are using AI, some kind of machine learning system, and when an account is believed by their AI to have uploaded a bad panorama, then it will mark any future upload from that account as bad. However it is wildly inaccurate and has a gigantic false positive rate, so countless legitimate users are now having all their uploads marked as bad.

So you make a new account, it's fine, upload a few panoramas, and suddenly the insane AI trips on one of them and decides that account is a bad guy too. And that account is useless too now.

That's my best guess based on speculation elsewhere. Take it with a grain of salt if you wish.

ejheil avatar Apr 24 '25 01:04 ejheil

I don't believe this at all, that would be ridiculous. Photo and video quality checks have been in place for a long time, I sometimes get one rejected and my account is not restricted. It's more likely to be a restriction based on location or for new users. I'm a Local Guide level 6 and uploading from France without any issue.

@moom0o Can you check the logs to see if there's a pattern with location, and what's the percentage of rejected upload?

Nekzuris avatar Apr 24 '25 02:04 Nekzuris

I don't think it's a location problem, on the same connection in the same location, my main account (lvl 5) works and the other (level 1) doesn't. Though the level might not even matter either.

On Wed, Apr 23, 2025, 10:38 PM Nekzuris @.***> wrote:

Nekzuris left a comment (moom0o/PhotoSphereStudio#20) https://github.com/moom0o/PhotoSphereStudio/issues/20#issuecomment-2826126785

I don't believe this at all, that would be ridiculous. Photo and video quality checks have been in place for a long time, I sometimes get one rejected and my account is not restricted. It's more likely to be a restriction based on location or for new users. I'm a Local Guide level 6 and uploading from France without any issue.

@moom0o https://github.com/moom0o Can you check the logs to see if there's a pattern with location, and what's the percentage of rejected upload?

— Reply to this email directly, view it on GitHub https://github.com/moom0o/PhotoSphereStudio/issues/20#issuecomment-2826126785, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALT3OCVBAZI5VXL7Q3ANPFL23BFBJAVCNFSM6AAAAAB3Q3X2ZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMRWGEZDMNZYGU . You are receiving this because you were mentioned.Message ID: @.***>

moom0o avatar Apr 24 '25 02:04 moom0o

I don't think it's a location problem, on the same connection in the same location, my main account (lvl 5) works and the other (level 1) doesn't. Though the level might not even matter either.

I can confirm this as I'm currently being Local Guide Level 6, tried different location with different images (shared on discord if you're curious), none of it work at all, and didn't even bother to use alt to upload

Kirby2048 avatar Apr 24 '25 03:04 Kirby2048

What's the mean ALT key?

iseanpark avatar Apr 24 '25 06:04 iseanpark

What's the mean ALT key?

Alt stand for Alternative account, as short form

Kirby2048 avatar Apr 24 '25 06:04 Kirby2048

I believe this needs to be reported here https://issuetracker.google.com/savedsearches/5019290, perhaps someone who uses the API directly can make a proper report?

videoP avatar Apr 24 '25 13:04 videoP

Can you all try uploading again? It seems to work now on my account that didn't work before.

moom0o avatar Apr 25 '25 01:04 moom0o

Same -- I just successfully uploaded with a formerly "banned" account.

ejheil avatar Apr 25 '25 01:04 ejheil

Can you all try uploading again? It seems to work now on my account that didn't work before.

Can confirm that mine also successfully uploaded

Kirby2048 avatar Apr 25 '25 01:04 Kirby2048

My Google account still doesn't upload photos.

iseanpark avatar Apr 25 '25 05:04 iseanpark

@moom0o not yet... still not working.

iseanpark avatar Apr 25 '25 07:04 iseanpark

yup it worked for me too when a few days ago it didn't. Same account

dandaman123456 avatar Apr 25 '25 11:04 dandaman123456

Why do I still get 400 errors? Is this being solved sequentially?

Image

iseanpark avatar Apr 25 '25 11:04 iseanpark

Why do I still get 400 errors? Is this being solved sequentially?

Image

Does it happen with an image that worked before?

moom0o avatar Apr 25 '25 18:04 moom0o

https://github.com/user-attachments/assets/79dba467-83ac-45d6-b80f-405add3850e8 @moom0o Yes, I tried the same image with the same Google account and a different Google account, but I still get the same error message. I still don't know what caused it.

iseanpark avatar Apr 26 '25 00:04 iseanpark

if you don't mind, can you upload the photo here?

moom0o avatar Apr 26 '25 01:04 moom0o

I have had all of my google accounts (But 1). Main - Blocked. Secondary - Blocked. Second Secondary - Blocked. Third - Blocked. Fourth - Unblocked (Created on December 20 2024, while the rest were September of 2023 and older) Tried it today and it worked on my main. Also, when I mean blocked, I mean unable to upload. Hopefully others are working now.

kesler9 avatar Apr 26 '25 04:04 kesler9

@moom0o

I don't know if it's because of the size of the picture, but my picture isn't uploaded. The size of my picture is about 20Mb.

iseanpark avatar Apr 26 '25 05:04 iseanpark

@moom0o Finally, it's uploaded. It doesn't work a few hours ago and it seems to be applied sequentially. It was successful. Thank you.

iseanpark avatar Apr 26 '25 05:04 iseanpark

At time it's working here now. :) Have upload any content with the same account and same way produced photos like before. :)

Thank you, for your work! :)

jojo-gfx avatar Apr 27 '25 18:04 jojo-gfx