Dev Docs - Dataswift One
Website
GitHub
Slack
Login
Search…
About Dataswift
Learn about Dataswift One
Dataswift One
Personal Data Account
Data Access
Build on Dataswift One
Quick Start
Getting Started
User Journeys
Guides
iOS/Swift
Android/Kotlin
JavaScript
1. Authentication
2. Fetch Applications, Data Plugs and Data Debits
3. Reading / Writing Data
4. File Storage
5. Data Debits
6. Handling Errors
7. FAQ
Dataswift One APIs
Advanced Topics
Deploy
Application Review
Application Governance
Rating Assurance & Certification
Permission Review
Review Checklist
Knowledge Base
PDA Design Patterns
Security Practices
FAQ
Glossary of Terms
Dataswift
Resources
Powered By
GitBook
7. FAQ
FAQ
Why do I get CORS errors?
Make sure that you set the localhost port to 3000, and you use a testing HAT. eg. testing.hubat.net
You are using a production HAT. Localhost is not allowed origin for the production HATs.
The secure property in the configuration is set to
false
. Only if you want to
run the HAT locally, you have to set this field to
false
. Otherwise, for the test environment
it must be
true
.
I'm getting a 403: Access Denied, how do I fix it?
Make sure you use the correct App ID and namespace. Note: The testing App ID
has a
-dev
suffix even if it's not displayed correctly in the Developer Portal.
In order for an application to fetch the list of applications or a specific application, it needs an extra permission.
You are trying to write data to a different namespace.
Why do I get 400: Bad request?
Make sure you use the
secure
configuration correctly. Only if you want to
run the HAT locally, you have to set this field to
false
.
The HAT doesn't allow to create duplicate data.
Previous
6. Handling Errors
Next - Build on Dataswift One
Dataswift One APIs
Last modified
3mo ago
Copy link
Contents
FAQ