getting parsing issue in GraphQL query

I have two services say serviceA and serviceB
ServiceA written in spring-boot makes HTTP call to service B using RestTemplate.
ServiceB written in SpringBoot has POST endpoint which receives this request and calls GraphQL query resolver to do the processing.

Scenario 1: ServiceA running on my local windows calls serviceB running to unixServer and the above-mentioned scenario works perfectly fine.

Scenario 2: When ServiceA is running on Unix server calls serviceB running on the same Unix box. This time I get 500 response saying unable to parse the query.

Query sent by me is : getUsers(id = "abc123") { id , name }

String received by server in case of scenario 2 is : getUsers(id = /"abc123/") { id , name }

ServiceB is same in both scenarios still it works fine when I hit from local and fail when receives a request from the server.

Anyone have some suggestions on it.

Stack Overflow Asked by SauriBabu on February 22, 2021

0 Answers

Add your own answers!

Related Questions

How to delete entries from a SELECT query result in mysql?

3  Asked on November 12, 2021 by optimus-servers


How to convert a list made up of one tuple into a two item list?

4  Asked on November 12, 2021 by python-learner-93


How to remove box and whiskers from plot() function in R?

1  Asked on November 12, 2021 by david_authors_books


Trying to pass list value from python to html

1  Asked on November 12, 2021 by goodaytar


How do I set the buffer value to zero?

1  Asked on November 12, 2021 by kingwales


Removing part of DirectoryName

2  Asked on November 12, 2021


Javascript changes value of three objects at once

1  Asked on November 12, 2021 by oskarmular


Rubyist way to test for a hash key in an array

2  Asked on November 12, 2021 by lucky


How do I rotate an object 90 degrees using JQuery

3  Asked on November 12, 2021 by bullybear17


Add a year to current date

2  Asked on November 12, 2021 by user13788524


Python exact time usage

1  Asked on November 12, 2021 by teac


Array of dates prints unexpected dates in moment js

3  Asked on November 12, 2021 by jayakrishnan


Is this syntax – [x] = ‘y’ in an array literal – standard C?

1  Asked on November 12, 2021 by user13783520


Ask a Question

Get help from others!

© 2022 All rights reserved.