Comments (9)
Hello, thanks for the report.
Seems like SDKError was thrown every time an error occured, I fixed this with the latest commit. You should now see the right Error Message.
from fiskaly-sdk-swift.
Thanks for the fast support! How to handle now when the SDK throws : Client response not decodable into class.
Should I modify the Decode or are there other solutions?
from fiskaly-sdk-swift.
That error should never really happen, I am trying to reproduce your problem, but I don't seem to be able to.
Could you provide any more information, as your bug report is kind of vague.
from fiskaly-sdk-swift.
Hello I made a Screenshot now with the SDK which you committed, which gives me advanced Error Informations:
from fiskaly-sdk-swift.
Could you send the String inside the body here so I can decode it? You can also decode it yourself.
But it is a 401 Error, so "Unauthorized". Please make sure you have a valid API_KEY and API_SECRET.
from fiskaly-sdk-swift.
body: "eyJzdGF0dXNfY29kZSI6NDAxLCJlcnJvciI6IlVuYXV0aG9yaXplZCIsIm1lc3NhZ2UiOiJBdXRob3JpemF0aW9uIGhlYWRlciBtdXN0IGZvbGxvdyB0aGUgZm9ybWF0IFwiQXV0aG9yaXphdGlvbjogQmVhcmVyIC4uLlwiIn0="
i have a valid API_KEY and API_SECRET but I am using it without ProcessInfo.processInfo or might be there the problem?
from fiskaly-sdk-swift.
So I was just able to reproduce the exact same error message with a wrong API_KEY Pair. Please double check your credentials.
from fiskaly-sdk-swift.
Big Thanks for the fast Support! It was first a little bit weird, I guess my Xcode messed it up everything, and with the 401 I had space char in the API Secret that's why it didn't work ;D
Do you have an email where I can ask you some questions about the api like providing "andere geschäftsvorfälle" like when the client opens the cashbox to describe the transactions or should I put this information in the raw { processData }
from fiskaly-sdk-swift.
General support like questions about what and how things need to be signed are currently handled and distributed by our sales team. Please send an email to [email protected] with your questions.
We are working on a ticketing system for these questions. As soon as it is available it can be found at https://developer.fiskaly.com .
from fiskaly-sdk-swift.
Related Issues (19)
- Add proper versioning to the SDK HOT 1
- Supported payment types HOT 1
- App Crashs because of FiskalyClientInvoke
- Check in closed source client into repository HOT 5
- Carthage update error HOT 3
- SDK Improvement Thread HOT 7
- JSONRpc Error -> Order Update Transaction HOT 1
- Authorization with Fiskaly HOT 4
- Code 65 compile error on Xcode 12 beta 4 HOT 4
- DSVIN-K FiskalyHttpClient throws NSError HOT 7
- DSKINV-K Export 2.0 Error HOT 1
- Better Error Handling in Do Try Catch Clause
- SPM support HOT 3
- Building for iOS Simulator on ARM64 Mac doesn't work HOT 2
- FiskalySDK.framework is not generated on carthage update HOT 1
- Network requests are being performed synchronously
- Contribution guidelines? HOT 1
- Force unwrapping could crash integrator
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fiskaly-sdk-swift.