api-spec-converter icon indicating copy to clipboard operation
api-spec-converter copied to clipboard

Failed to fetch file

Open carlheinmostert opened this issue 4 years ago • 5 comments

I have published a test file to 3 different cloud platforms and made it public. I simply get "failed to fetch" error.

source: https://1drv.ms/u/s!AmIDEGUxMpBGheFFL9VtnFGD8tdDuw?e=tHieW1

please help!

Thanks Carl

carlheinmostert avatar Jan 26 '21 16:01 carlheinmostert

Rather use this link to azure: https://jsedatalake.blob.core.windows.net/foundrylogs/New%20Text%20Document.json?sp=r&st=2021-01-26T15:58:48Z&se=2021-01-26T23:58:48Z&spr=https,http&sv=2019-12-12&sr=b&sig=hw%2FLqD2Z5ZZSx%2FTnfdkLpj82Qas3DCZwtELHGrpqsVo%3D

carlheinmostert avatar Jan 26 '21 16:01 carlheinmostert

When I load the azure link I get

<Error>
<Code>AuthenticationFailed</Code>
<Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:8c1c704b-401e-001b-033f-ff4af5000000 Time:2021-02-10T00:01:19.7670351Z</Message>
<AuthenticationErrorDetail>Signature not valid in the specified time frame: Start [Tue, 26 Jan 2021 15:58:48 GMT] - Expiry [Tue, 26 Jan 2021 23:58:48 GMT] - Current [Wed, 10 Feb 2021 00:01:19 GMT]</AuthenticationErrorDetail>
</Error>

rbren avatar Feb 10 '21 00:02 rbren

Same here. Uploaded to my own server and to pastebin. Fails every time.

DschingisKahn avatar Feb 25 '21 18:02 DschingisKahn

Same issue, but found a workaround

  • upload to dropbox shared folder
  • open in dropboxweb and download the file
  • open the browsers download section (CTRL+J in chrome)
  • copy the full path of this download and paste it into https://lucybot-inc.github.io/api-spec-converter/

Still, it would be good if it would also work form a public webserver or pastebin etc.

jparadeiser-spar avatar May 06 '21 10:05 jparadeiser-spar

Same issue, but found a workaround

  • upload to dropbox shared folder
  • open in dropboxweb and download the file
  • open the browsers download section (CTRL+J in chrome)
  • copy the full path of this download and paste it into https://lucybot-inc.github.io/api-spec-converter/

Still, it would be good if it would also work form a public webserver or pastebin etc.

sadly, this does not work anymore. Can you please investigate? TypeError: Failed to fetch

  • is this becuase of the content (openapi: 3.0.1) or
  • because the source file cannot be accessed? Thank you

jpara avatar Jul 22 '21 13:07 jpara