omnivore-app / omnivore

Omnivore is a complete, open source read-it-later solution for people who like reading.
https://omnivore.app
GNU Affero General Public License v3.0
13.96k stars 1k forks source link

Error uploading a CSV file, 403 from Google storage in console #4368

Open rogor opened 2 months ago

rogor commented 2 months ago

Hi,

I'm trying to import links via a CSV file, and I get "Error Uploading" message. In the console, I see a 403 to the request:

XHRPUT
https://storage.googleapis.com/omnivore/imports/2c16f738-565b-11ee-979d-4f54891be96d/2024-09-08/URL_LIST-95d8f1ab-ac29-4e5a-96ee-56d191a0ef39.csv?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=gke-app-internal-sa@omnivore-production.iam.gserviceaccount.com/20240908/auto/storage/goog4_request&X-Goog-Date=20240908T135551Z&X-Goog-Expires=900&X-Goog-SignedHeaders=content-type;host&X-Goog-Signature=754822994d19e94984c0d3121a002bb688ba147dd75ed33d02dd80262ccdb856764d6dada1b0e4463478da85593cf020db8834c40eae55fedf9c288919d6c922d2bdc00807af8d25ffc0111221e57cf8e8e2a0d512f76f9ed4402b1dc0a2a8b1c4fab274c8db327fad2927c9810a21cac2b52f60ac2f1ad662876866b3cbbc35e58870462d96295629bb5ba5c9e2900fc6683f6334d206e244afef4cfcdd133b247e2573a23a5e1d7d4b40baf8fcb9c4fc647bc3ea37be906279cbaf3ac4ac85a1a4246430f75ede4a32421986028c5a0f82281fee890518c68acdae5355662f35c2961b7e873c864d70d6a0b95d87a1835d3a5d14f26ac58541e081026e69ae
[HTTP/3 403  120ms]

 <?xml version='1.0' encoding='UTF-8'?><Error><Code>SignatureDoesNotMatch</Code><Message>Access denied.</Message><Details>The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method.</Details><StringToSign>GOOG4-RSA-SHA256
20240908T135551Z
20240908/auto/storage/goog4_request
df8593c3a96c896ba6c1985ae70032d899970e3e77aaee2e7701175b5b003308</StringToSign><CanonicalRequest>PUT
/omnivore/imports/2c16f738-565b-11ee-979d-4f54891be96d/2024-09-08/URL_LIST-95d8f1ab-ac29-4e5a-96ee-56d191a0ef39.csv
X-Goog-Algorithm=GOOG4-RSA-SHA256&amp;X-Goog-Credential=gke-app-internal-sa%40omnivore-production.iam.gserviceaccount.com%2F20240908%2Fauto%2Fstorage%2Fgoog4_request&amp;X-Goog-Date=20240908T135551Z&amp;X-Goog-Expires=900&amp;X-Goog-SignedHeaders=content-type%3Bhost
content-type:application/vnd.ms-excel
host:storage.googleapis.com
​
content-type;host
UNSIGNED-PAYLOAD</CanonicalRequest></Error>
QuAzI commented 2 months ago

The same story. I am trying to import CSV from Instapaper and even only links with title 'url,state,labels,saved_at,published_at' fails