#maimon_api

1 messages ยท Page 1 of 1 (latest)

silent wedgeBOT
#

๐Ÿ‘‹ 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/1277610772079444039

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

queen jetty
#

hi there!

wintry bone
#

req_mUqyOJu7U31BmT

queen jetty
#

the key you used doesn't have the rak_secret_read permission, as mentioned in the error message.

wintry bone
#

but i added all possible scopes, how do i give my key this permission

#

Secrets are under connect in the documentation, and i gave myu restricted key all the possible scopes:

queen jetty
#

looking into this...

silent wedgeBOT
steep flare
#

Unfortunately it looks like a restricted API key cannot be given this permission at the moment. I can put in a feature request to add this to the dashboard, but for now only secret keys can make that request

wintry bone
#

Can you also add in the feature request an option to fetch dashboard users? this is a pretty simple use case but is not supported in your APIs. Furthemore, do you have any docs explaining how i can create a secret key and how i can limit its access only to a few several needed scopes? Thank you very much in advance

steep flare
#

Unfortunately secret keys cannot have their scope restricted. So because of this restriction anything that is accessing the secret store would be able to access anything that is accessible via the API

wintry bone
#

Can you please file a FR with including the secrets endpoint with a restricted key?
also can you please attach how to create a secret key with this capability?

steep flare
wintry bone
#

hey
So i created the secret key and its still not working:
The provided key 'rk_test_*********************************************************************************************FNWnug' does not have the required permissions for this endpoint on account 'acct_1PXUGGRrj4b9domq'. Having the 'rak_secret_read' permission would allow this request to continue.

steep flare
#

Can you send the request ID for that?

#

And unfortunately I cannot send emails from our support system. If you start a ticket at https://support.stripe.com/?contact=true and let me know when you have created the ticket I can make sure the people you are working with have the info to update you on the request

wintry bone
#

secret is indeed working now thanks.
Real bummer though that i cant use my restricted key for this. Did you file that request we were talking about?
Thanks again for your help

steep flare
#

The server was busy so I am getting to filing that now

wintry bone
#

great thanks
I have another question please
when using the call file links, the docs says that these are files that were shared externally for public unauthenticated viewing, but when i am trying to view some of the links returning in this calls i get this page:

do you happen to know the reason for that? how do i access this link unauthenticated and publicly?

steep flare
#

Can you send me the stripe ID for the file that you are trying to access here? I am less familiar with that API but can look in to how this is supposed to work

wintry bone
#

how do i foind that?

#

find

steep flare
#

Whoops I meant the file link object. It should come back as id on the same json object as your url and it should start with link_

wintry bone
#

link_1NfrpyHvtwqiNJdn5erjNqBT

silent wedgeBOT
exotic mauve
#

๐Ÿ‘‹

#

Do you have your request ID where you created that file link?

#

Is this just happening for that file link or you are seeing this for others as well?

wintry bone
#

all files returning in the file links call are not visible publicly. But, they all have the livemode set to false, maybe thats the reason?

exotic mauve
#

Ah they are all test mode file links?

wintry bone
#

probably i will look in to this further and will open a new ticket if get the same problems

#

thank uou for your help!!