neynarxyz / nodejs-sdk

Typescript SDK for Neynar APIs
https://neynar.com
MIT License
50 stars 10 forks source link

publishCast - AxiosError 400 #88

Closed ggomaeng closed 5 months ago

ggomaeng commented 5 months ago

Trying to publish cast non english cast like below

const { hash } = await client.publishCast(FARCASTER_UUID, "NeoPetsのリードエンジニアでした (2000年10月 - 2002年11月)", {
      replyTo: lastHash,   
});

crashes with:

AxiosError: Request failed with status code 400

manan19 commented 5 months ago

@ggomaeng Do you have the response object alongside with the 400 response object? Are you able to reproduce this 100% of the time? I was able to send a cast with the exact text you mentioned https://warpcast.com/~/conversations/0xf45653331e2d5c128654e9c5a09303fb4aebb979

ggomaeng commented 5 months ago

@ggomaeng Do you have the response object alongside with the 400 response object? Are you able to reproduce this 100% of the time? I was able to send a cast with the exact text you mentioned https://warpcast.com/~/conversations/0xf45653331e2d5c128654e9c5a09303fb4aebb979

will close for now and reopen if it happens again!