#carlosbilangieri_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1316425172429045832
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐ our guide for that can be found here:
https://docs.stripe.com/file-upload#download-file-contents
I have created the restricted API but still getting this error:
I'd suggest rolling that key as it's now been exposed in a public forum.
Can you share the ID of that request? Did you grant the Files permissions to that restricted key? Do you see the same error if you use your secret key instead?
file_1PzqRcHcJEFI81TOMTbe0nOd
Yes, I have got all the permisions..
I have tested with Secret Keys, and got the same error..
{
"error": {
"message": "To access sensitive verification results, configure a restricted API key with appropriate permissions. Learn more here: https://stripe.com/docs/identity/access-verification-results.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_0GoB2fIqxvgpMt?t=1733931713",
"type": "invalid_request_error"
}
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Oh, you're trying to access identity verification results, which are more sensitive than the average file. For those you do need a restricted key, and you need to configure the permissions for it as shown in the guide linked to from that error message.
https://docs.stripe.com/identity/access-verification-results#create-restricted-key
Thanks