Free Support Forum - aspose.cloud

503 Service Temporarily Unavailable / 400 Internal Server Error

Using previously working code, I’m now getting 503 Service Temporarily Unavailable return code. Does this mean the site is down or something else.

indent preformatted text by 4 spaces

Fatal error : Uncaught GuzzleHttp\Exception\ServerException: Server error: POST https://api.aspose.cloud/connect/token resulted in a 503 Service Temporarily Unavailable response:

503 Service Temporarily Unavailable

503 Service (truncated...) in

/var/www/emi/composer/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 Stack trace: #0 /var/www/emi/composer/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 /var/www/emi/composer/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response)) #2 /var/www/emi/composer/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array) #3 /var/www/emi/composer/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promi in **/var/www/emi/composer/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php** on line **113**

Just tried it again, and now I’m getting:

Fatal error: Uncaught Aspose\Slides\Cloud\Sdk\Api\ApiException: [400] Client error: DELETE https://api.aspose.cloud/v3.0/slides/storage/file/finalDecks%5Coutput_2020-06-08_14-00-45_u5ede7ccde93e6.pptx?storageName=emiaws resulted in a 400 Bad Request response:
{“error”:{“code”:“InternalServerError”,“message”:"Timeout expired. The timeout period elapsed prior to completion of th (truncated…)
in /var/www/emi/composer/vendor/aspose/slides-sdk-php/sdk/Api/ApiBase.php:84
Stack trace:
#0 /var/www/emi/composer/vendor/aspose/slides-sdk-php/sdk/Api/SlidesApi.php(406): Aspose\Slides\Cloud\Sdk\Api\ApiBase->httpCall(Object(GuzzleHttp\Psr7\Request))
#1 /var/www/emi/composer/vendor/aspose/slides-sdk-php/sdk/Api/SlidesApi.php(392): Aspose\Slides\Cloud\Sdk\Api\SlidesApi->deleteFileWithHttpInfo(Object(Aspose\Slides\Cloud\Sdk\Model\Requests\DeleteFileRequest))
#2 /var/www/emi/aspose/asposeFunctions.php(210): Aspose\Slides\Cloud\Sdk\Api\SlidesApi->deleteFile(Object(Aspose\Slides\Cloud\Sdk\Model\Requests\DeleteFileRequest))
#3 /var/ww in /var/www/emi/composer/vendor/aspose/slides-sdk-php/sdk/Api/ApiBase.php on line 84

We are having the same issue.

@klubar, @Simon_Karpen

Please check now, it should work. We have some issue with our SQL server, it was very busy. We have re started it and investigating the issue to avoid this in future.