helium / maker-starter-app

Apache License 2.0
36 stars 39 forks source link

About api 429 error,and User-Agent set ? #39

Closed edgardong closed 1 year ago

edgardong commented 2 years ago

Someone who knows how to set User-Agent in maker-app? I try helium-hotspot-app-3.10.0-${Platform.OS // }-wallet-client risinghf-hotspots-app-${getVersion()}-${Platform.OS }-maker-client risinghf-hotspots-app-${getVersion()}-${Platform.OS }-maker-client ${getUserAgentSync()} but none of them work. now api all return 429 error 。And can't get any data

api address

https://docs.helium.com/api/blockchain/introduction

Specify a User-Agent To access the helium api via script you will need to specify a valid User-Agent HTTP header field identifying your agent, all requests made without a User-Agent header will result in an error 429 Slow down gun powder!.

edgardong commented 1 year ago

oh