#glougou

1 messages · Page 1 of 1 (latest)

still blazeBOT
dull ice
#

Hi! yes it works with Terminal.

Usually that error means you passed null for an ID in an API call.

wheat token
#

The only ID to get the reader state is the reader ID right ? (the one starting with tmr_)

dull ice
#

yes. So probably in your actual code being executed, you're passing a variable to the .Get(...) call, and that variable is null.

wheat token
#

It is not and it is online

#

(I'm hardcoding the ID for the test, it's not a variable)

dull ice
#

then what is the exact line of code that throws the exception?

wheat token
#

2 lines of code :
Dim myservice = New Stripe.Terminal.ReaderService()
Dim myID = myservice.Get("tmr_FW...").Id.ToString

The second one (myservice.Get(...)) throws the error

dull ice
#

you can only really get that error if Get is passed a null variable, so I'd triple check if that's actually what your code deployed code is

wheat token
#

Ok does my stripe version : 41.11.0 can be the reason ?

dull ice
#

I wouldn't think so.

wheat token
#

Thanks a lot for your support. I'll try to find a way.