They are never synonyms. Maybe you could provide some context so we can understand better where the confusion comes from? In linguistics, "object" refers to the argument of most transitive verbs. I have not heard linguists use "objective" to turn this sense of "object" into a noun.
I have heard people who speak Mandarin Chinese as a first language use "the objective" to refer to the object of a verb (and similarly "the subjective" to refer to the verb's subject), but this is an error, as far as I can tell. I haven't heard linguists use this terminology, including linguists whose first language is Mandarin Chinese.