#xfechx-error

1 messages · Page 1 of 1 (latest)

lament hatch
granite vault
#

hello, the event is:

#

evt_1JeHJ8HlZBj3A1TOCyI3MpXZ

lament hatch
granite vault
#

req_tqTbwGRxhELrnR

lament hatch
#

that request succeeded, do you have an example of the one that failed with a "no such" error?

granite vault
#

hmm, the invoice.payment_succeded

#

evt_1JeHJ8HlZBj3A1TOCyI3MpXZ

#

http 200 OK, but I am catching the error, and cannot find that subscription, but I can see it in the dashboard, it has been created

lament hatch
#

you have many, many Stripe accounts

#

you are probably looking at the wrong one!

granite vault
#

??

#

I am not looking at the wrong one

#

I am under Asevatu Digital Europe

#

This has nothing to do with the number of stripe accounts I manage

lament hatch
#

do you have an example of a request that failed with a "no such" error?

#

right now I don't really understand you unfortunately

#

where exactly do you see a "no such subscription" error? From an API call? In the dashboard? somewhere else? can you please show me it?

granite vault
#

I am getting the error on my debugging, using try and catch

#

so when trying to retrieve the subscripiton, it cannot find it, but don't know why

lament hatch
#

can you share some details of this debugging? if you get an error there will be a req_xxx request ID in it generally.

#

I looked at some logs on our side and I see two accounts trying to access that subscription

#

A***u D***l andA***u D***l Europe

#

so as I said, having multiple accounts is relevant, and this type of error usually means you're using the wrong API key

#

so I'd suggest double checking that! You probably create the subscription on one of those accounts and you're using the API key of the other account to try to retrieve it, hence the error.

granite vault
#

Ahhh I seee

#

Now I am not seeing that same error again, could you please check if the same two accounts are trying to access that subscription still?

lament hatch
#

you are in a much better position than I am to debug this

#

you control the API keys you use. If you get a 'no such' error it means you haven't configured your code to use the right API keys so you know where to start looking

granite vault
#

yeah the problem is now i am not getting the no such error

#

I am not getting any message now

lament hatch
#

so all is good?

#

if you're not getting an error then that seems like a good thing!

granite vault
#

I am getting an exemption error

#

but without any message

lament hatch
#

can you share some details? sorry, there's nothing for me to go on there so it's really hard to help you.

#

a screenshot, the exact text you're looking at, a sub_xxx or evt_xxx ID, something.

granite vault
#

evt_1JeIH6HlZBj3A1TOoc2temAS

#

I did an update to the latest stripe php library

#

do you think that might break my implementation?

lament hatch
#

it could! It really depends

granite vault
#

because, I am getting errors where I wasn't getting

lament hatch
#

sorry I really want to help you but this isn't working. I don't understand what you mean by "getting an exemption error without an error message"