It seems that my smart contract cannot find the transfer operation of my FA2 other smart contract. Here is where the error is being thrown.
case (Tezos.get_entrypoint_opt("%transfer", tokenAddress) : option(contract(transferType))) of Some(contr) -> contr | None -> (failwith("CantGetContractToken") : contract(transferType)) end;
tokenAddress is set to the correct field. On better-call-dev the entrypoint is named
transfer and it complies with the FA2 standard. The contract doing this request has operator privileges. Is there something I have overlooked?