+ Start a Discussion
pooja biswaspooja biswas 

too many callouts 101 in apex code

Hi
I have a batch apex which performs a callout , I have given database.allowcallouts=true and database.stateful
My batch size=200 
I am still getting the error.
In query I have checked for NULLS , indexed where clause filters 
please let me know why I get this error:?

Thanks
Pooja
FearNoneFearNone
hi pooja,

batch size should be maximum of 100...
batch size=100
pooja biswaspooja biswas
Hi even then I am getting error
so is there an issue with soql query?

Pooja
FearNoneFearNone
if you can post your code, we can check your query. but the error states that your batch queried more than 100 times.