Hello guys,
I am new to Azure Mixed Reality Services and working on a tutorial for Object Anchor
Within this tutorial, we have to convert 3D model before using and for that I used this tutorial
The problem is I get conversion error with Bad request (400) and the details are given below:
Do you want to monitor an existing job? If so, type the job id. If not, just leave it blank and press Enter.
Job Id:
Asset : C:\Users\dmadmin\Downloads\candle_in_a_glass\scene.gltf
Gravity : <0, -1, 0>
Unit : Meters
Attempting to upload asset...
Upload Uri: https://aoaprodstoreeu2.blob.core.windows.net/
Progress: 100.00%
Asset uploaded
Attempting to create asset conversion job...
Your request failed:
Service request failed.
Status: 400 (Bad Request)
Headers:
Date: Fri, 05 Nov 2021 11:58:26 GMT
Connection: keep-alive
X-Content-Type-Options: REDACTED
MS-CV: wo9YxxxxxQ.0
Content-Length: 0
C:\Usen\Debug\netcoreapp3.1\ConversionQuickstart.exe (process 11420) exited with code 1.
Press any key to close this window . . .
My Configuration.cs file looks as follows:
public class Configuration
{
// Azure Object Anchors account identifier
public string AccountId = "exxxxxxx";
// Azure Object Anchors account primary key
public string AccountKey = "5xxxxxxx";
// Azure Object Anchors account domain
public string AccountDomain = "xxxxazure.com";
// Path to 3D asset file on your local machine
public string InputAssetPath = "C:/Users/dmadmin/Downloads/candle_in_a_glass/scene.gltf";
// Timeout to wait for job completion
public TimeSpan WaitForJobCompletionTimeout = TimeSpan.FromMinutes(40);
// Gravity direction of 3D model
public Vector3 Gravity = new Vector3(0.0f, -1.0f, 0.0f);
// The unit of measurement of the 3D model
[JsonConverter(typeof(StringEnumConverter))]
public AssetLengthUnit AssetDimensionUnit = AssetLengthUnit.Meters;
[JsonIgnore]
public ILogger Logger = NullLogger.Instance;
}
It is to be noted here that for "InputAssetPath" I have tried both backward and forward single and double backslashes but it didn't work either way. Your support in this regard will be really helpful.
Best regards,
Asma