Input string was not in a correct format

I am using my exisitng (old) api code but with the new ListID which no longer seems to be an integer so i change the folllowing line

Private listID As Integer = ******* (all numbers of course)

To

Private listID As String = "a6f8f2b1450f8dddcc8e8d5de7b6246f"

However when i run my code i get the error

"Input string was not in a correct format"

Whenever i look at my Lists they all come in the format of letters and numbers and not integers?

Can anyone help?

Cheers,

S

Ben Ben, 7 years ago
stevied :

I am using my exisitng (old) api code but with the new ListID

Here is a post explaining this: http://www.campaignmonitor.com/blog/pos … pi-update/

stevied, 7 years ago

thanks for the reply, I had seen the link already but it does not explain that I cannot find out my list ID's in the old format, they are only available as the new hex value...

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098