Hou use price-id?and it is type

all code use AI write,but i dont know how save it

then server.js show err

like this :magnifying_glass_tilted_left: 解析后的数据: { type: ‘response’, status: ‘error’, error: ‘Invalid string length’ }
:cross_mark: 数据格式不匹配: { type: ‘response’, status: ‘error’, error: ‘Invalid string length’ }

hey @fishone

you are using the beta id for ETH/USD but I do not think you should do it.

beta ids are for hermes beta endpoint which is used only for Aptos testnet , Sui testnet or Near testnet

please try with this id instead 0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace and this URL: https://hermes.pyth.network

1 Like