Rest API - Method failed error 400

tsoct
Tera Guru

Hello all,

 

The test run returns 400. However, clicking on the endpoint confirms that it is valid.

What might be the reason?

 

The endpoint of the method: https://api.swiftrefdata.com/v1/national_ids/${branchcode}?country_code=${countrycode}

 

 

 

1 ACCEPTED SOLUTION

Found the solution by removing country_code=${countrycode} from the end point

 

 

View solution in original post

4 REPLIES 4

Runjay Patel
Giga Sage

Hi @tsoct ,

 

Share your get method setup once.

Found the solution by removing country_code=${countrycode} from the end point

 

 

Abhay Kumar1
Giga Sage

@tsoct A 400 Bad Request response typically indicates an issue with the request payload or parameters, rather than the endpoint itself.