https://kotlinlang.org logo
#apollo-kotlin
Title
# apollo-kotlin
s

snowe

02/22/2024, 6:40 PM
Has anyone managed to get service virtualization working with apollo-kotlin? My requests work perfectly fine when using the prod graphql url, but as soon as I switch it to the proxy server url I get 404 failure with the message.
Copy code
{
  "errors": [
    {
      "errorType": "UnknownOperationException",
      "message": "Unknown Operation Request."
    }
  ]
}
here is the file saved by servirtium after the failed request occurs
Looks like that is actually occurring because servirtium strips the paths from the url, so that problem was solved. I just had to move the
/graphql
out of the url and into the server call. but that just brought up a different issue… Now I’m getting
Copy code
java.net.ProtocolException: Expected leading [0-9a-fA-F] character but was 0x7b
Expected leading [0-9a-fA-F] character but was 0x7b
Expected leading [0-9a-fA-F] character but was 0x7b
java.net.ProtocolException: Expected leading [0-9a-fA-F] character but was 0x7b
2 Views