Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login
    1. Home
    2. Tags
    3. requests

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Log in to post

    • All categories
    • N

      Failure on urequests library OSError: no available NIC

      Watching Ignoring Scheduled Pinned Locked Moved Issues & Bugs urequests urequest.py get oserror requests
      2
      0 Votes
      2 Posts
      139 Views
      M
      Hi, Did you check whether your WiPy is connected to wifi? If WiPy is not connected to wifi, you can receive oserror. After being sure that your WiPy connected to wifi, please try your code. Best,
    • K

      JSON posts

      Watching Ignoring Scheduled Pinned Locked Moved Support & Troubleshooting requests urequests micropython
      4
      0 Votes
      4 Posts
      929 Views
      E
      @kjm Line 52 doesn't seem to be related to datapayload, so i suppose that data = ujson.dumps({"post_wrapper":payload})) do the work. I don't know what OSError 128 mean but the line seem to be related to networking. Does your software have do correctly the connect with your wifi hotspot before trying to send your request ?
    • 1 / 1