I’m trying to get the data through ajax for tagify whitelist. but I get the following mistake code is: when I test it with “alert (response);” displays the data – [‘123′,’333′,’763′,asd’] Answer You are trying to access a local variable from callback response as global variable.