#.borjasanchez

1 messages · Page 1 of 1 (latest)

solid quartzBOT
proper meteor
#

Hi! Let me help you with this.

#

Sorry, what language is this?

restive tide
#

c#

#

.Net

proper meteor
#

Can you use just Search?

restive tide
#

yes, I can use it ... but I have the same problems with check out session... or create product ...

#

Why can't them be async ?

proper meteor
#

I don't exactly know, as I am not that familiar with .NET, but wouldn't
var response = MethodSync()
produce the same effect as
var response = await MethodAsync()
?

#

However, in any case SearchAsync method should work too

restive tide
#

Well It doesn't... 🥲

#

The weird thing is that it doesn't creates any exception ,,, the code just ... stops abruptly

#

any Idea why that's happening ?

eternal goblet
#

Hi! I'm taking over this thread. Give me a few minutes to look into this.

#

Did you find the SearchAsync() method in the documentation? If so, can you share the link?

restive tide
#

mmmmm

#

wait a second

#

No, I don't. But it seems that is a accepted method in CustomerService()

restive tide
#

right

#

So, What do you think is the problem here ?

eternal goblet
#

Not sure, still looking into this (I'm not very familiar with .NET).

restive tide
#

Okay ! Thanks! 🙂 Let me know

lethal summit
#

Are there any indications in your Dashboard logs that an API request is actually made?

restive tide
#

Hi !

#

Let me see

#

Some how I can't see the search call in the dashboard ...

#

just POST

#

this is a GET I presume ...

lethal summit
#

There's filters you can apply

#

GET is not included in default filter

restive tide
#

know, I got it ... let me check ! If is not async the get is Okay ! Let me try async

#

yes ! I does the call !

#

It*

#

That's the async call

#

var response = await service.SearchAsync(options);

#

but the code stops the same way

lethal summit
#

Ok, interesting. But in your code it never resolves to your response var?

restive tide
#

Nop !

#

It breaks the codes flow

lethal summit
#

And there's absolutely no error thrown or caught in your try/catch block?

restive tide
#

no ! That's the weird thing ...

#

catch block it doesn't catch anything ...

solid quartzBOT
lethal summit
#

Can you also confirm which version of the SDK you're using?

#

Ah can see it in screenshot

restive tide
#

you can or can't see it ?

lethal summit
restive tide
#

right

lethal summit
#

I'd recommend updating, but I can't see any specific fixes relating to this

restive tide
#

Okay !

#

I will !

lethal summit
#

Sorry we couldn't resolve this here!

restive tide
#

don't worry

#

thanks anyways !