square / square-java-sdk

Java client library for the Square API
https://developer.squareup.com
Other
61 stars 33 forks source link

Getting Error HTTP Response Not OK #92

Closed uyito closed 1 year ago

uyito commented 1 year ago

Describe the bug A clear and concise description of what the bug is. I keep getting HTTP Response Not OK whenever I try to create a payment. and the error HTTP Response Not OK doesn't explain what the real issue is. and its very hard to figure this out can you help?

Expected behavior A clear and concise description of what you expected to happen. have the sdk return a proper response to show whats is wrong with code. or return what caused the issue.

Square SDK version 26.0.0.20221116

Additional context pls provide any context on what might be causing this.

havenwood commented 1 year ago

Thank you for the feedback!! I've passed this along to our API team as a request for more fine grained errors that we can expose via the SDK. Closing this issue here since we need to resolve it upstream, but we'd be interested in discussing the failure information that would be most helpful further on BuildWithSquare Slack so we can pass on the feedback.