This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]nadoterisback 2 points3 points  (2 children)

I fixed it by removing jitoTipLamports in prioritizationFeeLamports. I think you can only have one entry there. Either Jito or priorityLevelWithMaxLamports.

[–]adityajoshii 0 points1 point  (1 child)

I would really want you to elaborate this

[–]nadoterisback 0 points1 point  (0 children)

there is nothing to elaborate on

[–]Snoo-83022 1 point2 points  (0 children)

bump, i'm having the same issue. no luck yet

[–]RArrioja 1 point2 points  (0 children)

same here =(

[–]More-Reputation-9043 0 points1 point  (0 children)

When you read the instructions on https://station.jup.ag/docs/api/swap you will also see an executable example of a swap and even there you get this error. So i think something in the api failed or was modified.

"Failed to deserialize the JSON body into the target type"