function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
venakata narayanavenakata narayana 

400 bad request error

Hello,
I am using below api call in my project "https://ap2.salesforce.com/services/data/v20.0/query?q=select+FirstName,LastName,Phone,Email+from Contact where+FirstName+LIKE+'%a%' "
but i am get  400 bad request error can you please any one help me to resolve that 
i have created a Connected app in my sandbox account 

Note: its working for one of my old account, earlier i created one new sandbox account with that i am getting bad request error
Jim JamJim Jam
the % wildcard character needs to be url encoded, try changing your query parameter ..

q=select+FirstName,LastName,Phone,Email+from+Contact+where+FirstName+LIKE+'%25a%25'
venakata narayanavenakata narayana
I think its not a problem JIm Jam its working one of my old account i have tried with that one also