square / square-java-sdk

Java client library for the Square API

Home Page:https://developer.squareup.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Error HTTP Response Not OK

uyito opened this issue · comments

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.

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.