500 Internal Server Error for get verbose transaction

esponse: {
status: 500,
statusText: ‘Internal Server Error’,
headers: AxiosHeaders {
date: ‘Thu, 27 Apr 2023 16:24:40 GMT’,
‘content-type’: ‘application/json; charset=utf-8’,
‘content-length’: ‘2’,
connection: ‘close’,
‘x-powered-by’: ‘Express’,
‘access-control-allow-origin’: ‘*’,
‘x-request-weight’: ‘10’,
etag: ‘W/“2-vyGp6PvFo4RvsFtPoIWeCReyIC8”’,
vary: ‘Accept-Encoding’,
‘cf-cache-status’: ‘DYNAMIC’,
server: ‘cloudflare’,
‘cf-ray’: ‘7be86ac54a010fdf-LAX’
},
config: {
transitional: [Object],
adapter: [Array],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
xsrfCookieName: ‘XSRF-TOKEN’,
xsrfHeaderName: ‘X-XSRF-TOKEN’,
maxContentLength: -1,

For some wallets its able to bring the data and for some it doesn’t.
It’s seems you guys dont have the data for some wallets.
Have to find another service asap.

check on wallet sneakyninjapants.eth for example.

this works for me:

     --url 'https://deep-index.moralis.io/api/v2/0xBdD95ABE8a7694CCD77143376b0fBea183E6a740?chain=eth' \
     --header 'accept: application/json' \
     --header 'X-API-Key: API_KEY_HERE'

are you using some specific parameters?

you can also test here directly in docs interface

I am trying to get all his transactions and using a cursor. try with a cursor.

ok, how many pages did you try?

I am trying to get all of them.

it brakes on page 21 it seems.
from block 0x0
to latest block

you could retry a request that fails few times, probably it fails in 15 seconds with a timeout and it returns a 500 error

Also when i retry it it doesnt work.

Can you check in your end to help find a solution? I wanted to upgrade to Enterprise but now have to change my whole code and find another provider if it keeps braking. need an api that works 100% of the times.

also this wallet…
0x2ea4815F47D685eD317e8bd243b89bCb26b369Fa

thats my code:

const getVerboseTransactions = asyncHandler(async (cursor, toAddress) => {
let response;
let error = null;

do {
error = null;
try {
response = await Moralis.EvmApi.transaction.getWalletTransactionsVerbose({
chain: “0x1”,
address: toAddress,
cursor: cursor,
fromBlock: lastBlock,
});
} catch (e) {
error = “error”;
console.log(e);
}
} while (error === “error”);
return response;
});

what are the exact parameters that you use for the initial query? disable_total is set to true or false?

sent the code one message above, anything else you need?

now it breaks on page 3.

it looks like it is not a timeout issue, we’ll have to investigate, I also got until page 20 only

kk thanks. hoping for good news

How much time you approx it will take you to solve it? I have business to run here…