Process ends with 100% progress and error while using pre-signed url for images

65 Views Asked by At

Using Mac, language .NET

Photoscene ID : krb1VCLBHop1AdbAdPtm96PWtCfsbncmfSXdSG5eUYM

I'm trying to upload images from mobile device to create 3d model of an object. There were some issues uploading local images directly, so I uploaded images on AWS S3 and generated pre-signed url. These urls were used within file uploading curl command.

curl -v $BASE'photo-to-3d/v1/file' 
-H 'Authorization: Bearer '$AUTH 
-F "photosceneid="$PID 
-F "type=image" 
-F "file[0]="$URL

the result shows no error msg.

{"Usage":"2.1651990413666",
"Resource":"\/file",
"photosceneid":"krb1VCLBHop1AdbAdPtm96PWtCfsbncmfSXdSG5eUYM",
"Files":{"file":[{"filename":"YXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyMTEwMDdUMDY0NTU0WiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmWC1BbXotU2lnbmF0dXJlPWUyMDgyYWE2YjgyNzFmNzk4NTFmNzc3MzkwYmFhN2ExN2FjM2Y5MjJjNjM3NGIyMzg5YWFmN2IwNzE3OTY3MjU=.jpg",
"fileid":"AALxKyQX1tAhcEgbM6w6lITCOHAleS1Dumu6ocy3qaY=-krb1VCLBHop1AdbAdPtm96PWtCfsbncmfSXdSG5eUYM",
"filesize":"187126",
"msg":"No error"}

Processing ends with error

{"Usage":"0.51469397544861",
"Resource":"\/photoscene\/krb1VCLBHop1AdbAdPtm96PWtCfsbncmfSXdSG5eUYM\/progress",
"Photoscene":{"photosceneid":"krb1VCLBHop1AdbAdPtm96PWtCfsbncmfSXdSG5eUYM",
"progressmsg":"ERROR","progress":"100"}}

File links were checked. Images were displayed right and can be downloaded. Format is jpg.

checked photoscene properties and found error_msg_id "error_msg_id":"262"

the meaning of error code was not found anywhere including error handling documentation

I don't know what to do from here since error message does not specify what exactly went wrong.

0

There are 0 best solutions below