Back to All

Getting errors for pageKey

Alchemy error: {'code': -32600, 'message': 'pageKey does not belong to this query'}

I keep getting this error when
curl --request POST
--url https://eth-mainnet.g.alchemy.com/v2/docs-demo
--header 'accept: application/json'
--header 'content-type: application/json'
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "alchemy_getAssetTransfers",
"params": [
{
"fromBlock": "0x8f9e05",
"toBlock": "latest",
"contractAddresses": [
"0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85"
],
"category": [
"erc1155",
"erc721",
"specialnft"
],
"withMetadata": true,
"excludeZeroValue": true,
"maxCount": "0x3e8",
"pageKey": "6ae6629f-2f07-4e2b-9a52-f0ff54f34ce1"
}
]
}
'

Even though I am following the documentation

ReadMe