#ecu_api

1 messages ยท Page 1 of 1 (latest)

lavish patioBOT
hexed pythonBOT
#

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.

lavish patioBOT
#

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

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

sweet bridge
radiant parrot
#

I have tried two things:

  • Right after generating it in the first place (user goes through oauth flow on your UI)
  • Right after refreshing the token using the grant_type=refresh_token request

So the token was likely a few seconds old.

#

Perhaps you can first say if the way I am using the token is correct, that I am supposed to simply pass it as authentication as in my cURL and Node.js examples

#

And that when I do I am acting on users' behalf

#

Are you able to refresh the Access Token as shown here and then use that successfully?
I am able to refresh but get same error

sweet bridge
#

Can you share a request ID where you're seeing that error?

radiant parrot
#

I will try it again soon and get the ID

#

I think the API example is wrong at the end of the page:

curl https://api.stripe.com/v1/customers
-u "{{ ACCESS_TOKEN }}"

If you don't add a colon at the end of the token curl asks: Enter host password for user

#

I'm unsure how to get the request ID from curl?

#

this is empty, is it real time?

#

even if I look days back I don't actually see any of these requests under the account which owns the oauth ๐Ÿค”

sweet bridge
#

If you click on More and toggle on Outbound Connect requests, anything then?

#

We may not be indexing them if they don't pass auth though.

radiant parrot
#

nope, it doesn't show it then either

radiant parrot
#

but I'm also not seeing token refresh logs there, maybe oauth doesn't log?

sweet bridge
#

Do you know the ID of the Account you're trying to make the request on behalf of that you can share?

radiant parrot
#

yes

#

it's my other account, how do I find out the ID?

#

Look what I see under the account on behalf I am making the request! This is on the stripe developers homepage. It doesn't show anything under logs though (even when I clear all filters)

sweet bridge
radiant parrot
#

the account on behalf which I am making requests: acct_1OZ7sBCxb0QiyL6s

sweet bridge
#

Hm, I'm not sure offhand, checking to see if a teammate might have pointers here.

radiant parrot
#

thanks!

#

It even says there are 14 errors but shows none of them

sweet bridge
#

Haven't forgotten about you! My teammates are still looking into this.

radiant parrot
#

๐Ÿ‘

warm basin
#

Hello ๐Ÿ‘‹ , is this the only account that you are seeing this behavior on? Also can you send me your own account ID? I am having trouble getting insight in to how this is working on your account overall.

#

@radiant parrot

radiant parrot
#

This is the only account i am testing with

#

I will get you the other id in a sec

#

My main account is acct_1PIwfyHcBAxZu84a, this is the account that holds the access and refresh tokens

#

regarding the other account on behalf I am making requests - it does have Connected enabled, so perhaps this creates some problems?

warm basin
#

As far as I know that shouldn't be an issue. Unfortunately I'm still having trouble finding anything on this, I think we will need to show this to a colleague that is more specialized but unfortunately they are not online at the moment. Can you write in to our support team with these IDs and a description of your issue and let me know when you've sent it? I can grab the email thread and show it to my colleague when they are back online.
https://support.stripe.com/?contact=true

radiant parrot
#

I can do it, but not right now, is it OK if I do it later? (In a few h)

warm basin
#

Sounds good, I'll keep an eye on my DMs. Please mention this Discord thread as well, that can help with routing if it takes a minute for me to see your message

radiant parrot
#

thanks

lavish patioBOT