hellno the optimist pfp
hellno the optimist
@hellno.eth
is this webhook parsing example still valid? I'm getting neynar errors and I don't see it in the latest mini app examples. https://github.com/farcasterxyz/frames-v2-demo/blob/0beedbc9ac2fb42816bb7969e31662e3555b1615/src/app/api/webhook/route.ts cc: @cmlad.eth @horsefacts.eth @rish
3 replies
1 recast
7 reactions

hellno the optimist pfp
hellno the optimist
@hellno.eth
Parsed webhook JSON: { header: 'eyJmaWQiOjEzNTk2LCJ0eXBlIjoiYXBwX2tleSIsImtleSI6IjB4ZDJjZmM4NTUyNzMwNmJhZTM2MWRiY2Y5NDQzZWFkYjkxNDNkNmMwYzg3NjExOWQ5MmE0MGJjMWRkMTc3ZGI5MiJ9', payload: 'eyJldmVudCI6Im5vdGlmaWNhdGlvbnNfZGlzYWJsZWQifQ', signature: 'l4Mf0yOYa7E0IH9-nwiu1hpGYZKTh03gps4j95rNN9DJnXbzuP4_aSoMKDde62U8lbnQTaNyEYF_A6redBONDw' } Error parsing webhook event: Error [VerifyJsonFarcasterSignature.VerifyAppKeyError]: Error verifying app key at eX (.next/server/app/api/webhook/route.js:1:26720)
1 reply
0 recast
0 reaction

hellno the optimist pfp
hellno the optimist
@hellno.eth
"message": "Expected string, received array" } ] at async rb (.next/server/app/api/webhook/route.js:3:5149) at async rx (.next/server/app/api/webhook/route.js:3:5958) { issues: [ [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object] ], addIssue: [Function (anonymous)], addIssues: [Function (anonymous)] } } } VerifyAppKeyError: VerifyJsonFarcasterSignature.VerifyAppKeyError Error verifying app key
0 reply
0 recast
0 reaction

Quazia pfp
Quazia
@quazia
Hi @hellhello - we think this might be related to the switch over to snap chain but I’ll be investigating today and will let you know as soon as I know more. Appreciate the report 😊
1 reply
0 recast
1 reaction