ran into something like this before, trying to handle client and server through a web api at the same time. Splitting them into separate context objects worked for me too after some trial and error. glad you got it sorted!