Group Transaction error

Hi guys,
I am doing a group transaction. Transfering Algos buying and Transfering of NFT and transfering loyalty tokens. All are api’s called one after the other.
It worked for a while then I added a condition of opting in through api and now I am getting this error. What does it even can anyone please help?

Some of the groups of transactions were unable to be posted. The reason for each unsuccessful group is in it's corresponding position inside the 'data' array."

There is no enough info to give any advice. Which API are you using? The error is definitely not from algod. Post the relevant code (formatted) and API docs you use.