Perhaps you're thinking of one of these:
* "Up the wrong tree": This idiom means to be mistaken or misled, often in a pursuit or search. It originates from the idea of a hunter climbing the wrong tree while chasing an animal.
* "Got up on the wrong side of the bed": This idiom means to be in a bad mood or irritable, usually for no apparent reason.
* "Wake up on the wrong side of the bed": This is a variation of the above idiom, meaning the same thing.
* "Turned up wrong": This phrase, while not a common idiom, could potentially mean something like "turned out to be wrong" or "revealed to be inaccurate."
If you can provide more context about where you encountered "up wrong," it might be easier to determine what idiom you're thinking of.