Getting 400 bad request

hi,
As i use the incoming transaction api of nem, but i got the bad request with 400 status. as my address is valid too but, don’t know why the api returns the response with address not valid.

Hi,

Did you put address with dashes? If yes please remove all - signs.
If this is not the case please provide request details you made.

No, i didn’t give any spaces or dashes in between the request, as when i use to create the new wallet and try to get the details of new wallet i successfully got the response but whenever i try to get the information about the old wallet then i get 400 bad request witha a message that “address is not valid” but i used that address many times it’s valid.And this is the request that i use
" http://127.0.0.1:7890/account/transfers/all?address=TBZ2I6YPHF3C76SIOL356YNI5HUQZ4ALYG3OQXH4"

@harshit
This is testnet address. Your node is configured to work with mainnet or testnet? :slight_smile:
Please check in config.properties

yes this is testnet address but, it has to be work as i used it previosly too , my config file is configured with testnet.
but on mainnet when i used the mainnet address the same error is arising on every hit as i changed the config file with mainnet too. please suggest me what to do

I’m pretty sure your node is not configured correctly. There is no problem when you try another Testnet node:
http://37.120.188.83:7890/account/transfers/all?address=TBZ2I6YPHF3C76SIOL356YNI5HUQZ4ALYG3OQXH4

What’s your node IP?