Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Error 400 Bad Request details #1021

Open
ramalingam07 opened this issue Dec 30, 2021 · 0 comments
Open

Error 400 Bad Request details #1021

ramalingam07 opened this issue Dec 30, 2021 · 0 comments

Comments

@ramalingam07
Copy link

I tested all examples & will go to 400 error only. Sample to what I tested code,
/azure-sdk-for-php-master/examples/MediaServices/analyticsworkflow_indexer.php

My error:

Azure SDK for PHP - Media Analytics Sample (Indexer)
Fatal error: Uncaught WindowsAzure\Common\ServiceException: Fail: Code: 400 Value: Bad Request details (if any): {"error":{"code":"MissingApiVersionParameter","message":"The api-version query parameter (?api-version=) is required for all requests."}}. in C:\xampp\htdocs\azure_sdk\azure-sdk-for-php-master\vendor\microsoft\windowsazure\src\Common\Internal\Http\HttpClient.php:405 Stack trace: #0 C:\xampp\htdocs\azure_sdk\azure-sdk-for-php-master\vendor\microsoft\windowsazure\src\Common\Internal\Http\HttpClient.php(301): WindowsAzure\Common\Internal\Http\HttpClient::throwIfError(400, 'Bad Request', Object(GuzzleHttp\Psr7\Stream), Array) #1 C:\xampp\htdocs\azure_sdk\azure-sdk-for-php-master\vendor\microsoft\windowsazure\src\Common\Internal\RestProxy.php(144): WindowsAzure\Common\Internal\Http\HttpClient->sendAndGetHttpResponse(Array, Object(WindowsAzure\Common\Internal\Http\Url)) #2 C:\xampp\htdocs\azure_sdk\azure-sdk-for-php-master\vendor\microsoft\windowsazure\src\Common\Internal\ServiceRestProxy.php(89): WindowsAzure\Common in C:\xampp\htdocs\azure_sdk\azure-sdk-for-php-master\vendor\microsoft\windowsazure\src\Common\Internal\Http\HttpClient.php on line 405

Please advice!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant