amazon-web-services - AWS S3 对象获取失败

标签 amazon-web-services amazon-s3

我正在尝试使用以下 3D 模型。该对象获取不正确。请帮忙

每当我正确时:

fetch('https://s3.amazonaws.com/3dlearning.io/untitled.glb')
  .then(console.log)
  .catch(console.error)

我收到错误:

enter image description here

最佳答案

以下代码对我来说效果很好:

const fetch = require('node-fetch');

fetch('https://s3.amazonaws.com/3dlearning.io/untitled.glb')
  .then(res => console.log('good'))
  .catch(err => console.error('bad', err));

关于amazon-web-services - AWS S3 对象获取失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67253898/

相关文章:

amazon-web-services - AWS AppSync-使用GSI排序键将全局二级索引添加到DynamoDB和分页

amazon-web-services - 在 C# 中使用 AWS 开发工具包无法使用 AWS SNS 发送文本消息

laravel - 文件上传到 aws S3 Laravel 5.1

node.js - Amazon S3 403 禁止错误适用于 KML 文件,但不适用于 JPG 文件

node.js - 如果不存在则创建 S3 存储桶

amazon-web-services - AWS CloudFormation Create-Stack 服务资源卡在 'CREATE_IN_PROGRESS'

amazon-web-services - AWS Athena JDBC PreparedStatement

amazon-web-services - 是否可以从 CloudWatch 为 Lambda 状态函数集创建计划规则

http - CloudFront 缓存 - 如何确保 CF 在到期后从 S3 原始服务器刷新?

hadoop - HDFS是否在Hadoop的键值存储之上实现?怎么样?