Take a look at the response body

Take a look at the response body
4 Replies
Apollo
Apollo10mo ago
on which request? The 401 returns empty Adding more logs
sol-admin.vercel.app/:1 Access to fetch at 'https://mmfldr-bucket.6523e349bc2b3b61bc5155528f142bd7.r2.cloudflarestorage.com/Carson%20Gross.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=6523e349bc2b3b61bc5155528f142bd7%2F20240325%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20240325T171459Z&X-Amz-Expires=3600&X-Amz-Signature=69b09d6f72d1c17fbc19a38b26c80fb5c9ef7b4ec153e91169eb06d453874351&X-Amz-SignedHeaders=host&x-id=PutObject' from origin 'https://sol-admin.vercel.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
sol-admin.vercel.app/:1 Access to fetch at 'https://mmfldr-bucket.6523e349bc2b3b61bc5155528f142bd7.r2.cloudflarestorage.com/Carson%20Gross.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=6523e349bc2b3b61bc5155528f142bd7%2F20240325%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20240325T171459Z&X-Amz-Expires=3600&X-Amz-Signature=69b09d6f72d1c17fbc19a38b26c80fb5c9ef7b4ec153e91169eb06d453874351&X-Amz-SignedHeaders=host&x-id=PutObject' from origin 'https://sol-admin.vercel.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
𝖆𝖚𝖙𝖎𝖘𝖙
Try setting your actual host where your request origins from in the allowed hosts instead of * E.g. https://localhost:3000
𝖆𝖚𝖙𝖎𝖘𝖙
In your case that might be https://sol-admin.vercel.app
MemeToken
Generated by create turbo
Apollo
Apollo10mo ago
I think it might be the r2 tokens I was being fast and lose with my r2 tokens, using the api value for secret access key, in this case the 401 incredibly correct, thank you guys
Want results from more Discord servers?
Add your server