googleapis / google-api-php-client

A PHP client library for accessing Google APIs
Apache License 2.0
9.22k stars 3.52k forks source link

management_uploads->uploadData return 503 #2458

Closed araki-takahiro closed 11 months ago

araki-takahiro commented 1 year ago
$gaUpload = $analytics->management_uploads->uploadData(
                $accountId,
                $webPropertyId,
                $customDataSourceId,
                [
                    'data' => file_get_contents($csvFilePath),
                    'mimeType' => 'application/octet-stream',
                    'uploadType' => 'media',
                ]
            );

return 503 error. I have been receiving errors continuously for about the past two weeks. accountId, webPropertyId, customDataSourceId, csvFilePath are correct. please help

LindaLawton commented 1 year ago

Considering that UA analytics will stop recording data in 10 days or so, im not sure why you are bothering.

yash30201 commented 11 months ago

As UA analytics has been replaced by Google Analytics stating July 1st, 2023, this issue has become obsolete.