#Can someone help me fix a bug with my Stock number checker?

1 messages · Page 1 of 1 (latest)

foggy mortar
#

Can someone help me fix a bug with my Stock number checker?

vernal merlin
#

I think you'd have to provide more details before anyone can answer that

foggy mortar
#

Its a webhook that shows Stock number on a Product

foggy mortar
vernal merlin
foggy mortar
#

No

vernal merlin
#

ok

#

then what am I looking at?

foggy mortar
#

Website number two has the product in stock but it says it’s not in stock

vernal merlin
#

ok

#
foggy mortar
#

Yes

#

Just translate the side if you need it

#

I didn’t understood it either

vernal merlin
#

did you print out the response.text that you received, and verify that it contains what you expect?

foggy mortar
#

No

#

I don’t know how to do that

vernal merlin
#

print(response.text)

foggy mortar
#

I can try tomorrow

#

I’m not on pc

#

I’ll remind you tomorrow

vernal merlin
#

remind me what?

foggy mortar
#

What it printed

foggy mortar
#

@vernal merlin

vernal merlin
#

You put the print too early then, you need to put it after the response has been defined