Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

status":406,"error":"Not Acceptable" message":"Payment declined: amount exceeds 100.00 #20

Open
aghag10 opened this issue Dec 5, 2018 · 0 comments

Comments

@aghag10
Copy link

aghag10 commented Dec 5, 2018

While running load-tests, I see lot of error responses in front end logs -

Order response: {"timestamp":1543518975262,"status":406,"error":"Not Acceptable","exception":"works.weave.socks.orders.controllers.OrdersController$PaymentDeclinedException","message":"Payment declined: amount exceeds 100.00","path":"/orders"}
Order response: {"statusCode":406,"body":{"timestamp":1543519009697,"status":406,"error":"Not Acceptable","exception":"works.weave.socks.orders.controllers.OrdersController$PaymentDeclinedException","message":"Payment declined: amount exceeds 100.00","path":"/orders"},"headers":{"x-application-context":"orders:80","content-type":"application/json;charset=UTF-8","date":"Thu, 29 Nov 2018 19:16:49 GMT","x-envoy-upstream-service-time":"18","server":"envoy","connection":"close","transfer-encoding":"chunked"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"orders","port":80,"hostname":"orders","hash":null,"search":null,"query":null,"pathname":"/orders","path":"/orders","href":"http://orders/orders"},"method":"POST","headers":{"accept":"application/json","content-type":"application/json","content-length":232}}}

Where is the amount populated while making calls from load-test microservice? and how to fix these errors?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant