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 torun the HAT locally, you have to set this field to
false
. Otherwise, for the test environmentit 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 torun the HAT locally, you have to set this field to
false
.The HAT doesn't allow to create duplicate data.
Last updated