Expected behavior
Uploading an xml file, doing some processing, and export csv files.
Actual behavior
a 403 issue on that particular endpoint when clicking on the submit button to launch the post call.
What is the current behavior?
a 404 error over get /values (I understand this is normal from a different post here)
Failure Logs
Access to fetch at ‘api-to-post-the-file’ from origin ‘https://app.forestadmin.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
VM3596:1 POST net::ERR_FAILED 403 - api-to-post-the-file
(anonymous) @ VM3596:1
(anonymous) @ chunk.7.3063f605868b6fe645c9.js:353
(anonymous) @ client-b3e42948e3200b571a87e7aa74003ff3.js:21739
u @ vendor-5274ce00880a892114c98442cc88aca6.js:1256
(anonymous) @ vendor-5274ce00880a892114c98442cc88aca6.js:1254
forEach.e. @ vendor-5274ce00880a892114c98442cc88aca6.js:1263
d @ client-b3e42948e3200b571a87e7aa74003ff3.js:21718
a @ client-b3e42948e3200b571a87e7aa74003ff3.js:21747
Promise.then (async)
d @ client-b3e42948e3200b571a87e7aa74003ff3.js:21718
a @ client-b3e42948e3200b571a87e7aa74003ff3.js:21747
(anonymous) @ client-b3e42948e3200b571a87e7aa74003ff3.js:21747
(anonymous) @ client-b3e42948e3200b571a87e7aa74003ff3.js:21746
(anonymous) @ client-b3e42948e3200b571a87e7aa74003ff3.js:21748
t @ client-b3e42948e3200b571a87e7aa74003ff3.js:21735
(anonymous) @ client-b3e42948e3200b571a87e7aa74003ff3.js:22212
u @ vendor-5274ce00880a892114c98442cc88aca6.js:1256
(anonymous) @ vendor-5274ce00880a892114c98442cc88aca6.js:1254
forEach.e. @ vendor-5274ce00880a892114c98442cc88aca6.js:1263
O @ client-b3e42948e3200b571a87e7aa74003ff3.js:22180
a @ client-b3e42948e3200b571a87e7aa74003ff3.js:22182
(anonymous) @ client-b3e42948e3200b571a87e7aa74003ff3.js:22182
(anonymous) @ client-b3e42948e3200b571a87e7aa74003ff3.js:22181
(anonymous) @ client-b3e42948e3200b571a87e7aa74003ff3.js:22217
(anonymous) @ client-b3e42948e3200b571a87e7aa74003ff3.js:22207
u @ vendor-5274ce00880a892114c98442cc88aca6.js:1256
(anonymous) @ vendor-5274ce00880a892114c98442cc88aca6.js:1254
forEach.e. @ vendor-5274ce00880a892114c98442cc88aca6.js:1263
O @ client-b3e42948e3200b571a87e7aa74003ff3.js:22180
a @ client-b3e42948e3200b571a87e7aa74003ff3.js:22182
(anonymous) @ client-b3e42948e3200b571a87e7aa74003ff3.js:22182
(anonymous) @ client-b3e42948e3200b571a87e7aa74003ff3.js:22181
(anonymous) @ client-b3e42948e3200b571a87e7aa74003ff3.js:22211
(anonymous) @ client-b3e42948e3200b571a87e7aa74003ff3.js:22256
Promise.then (async)
value @ client-b3e42948e3200b571a87e7aa74003ff3.js:22256
value @ client-b3e42948e3200b571a87e7aa74003ff3.js:22246
triggerCustomAction @ client-b3e42948e3200b571a87e7aa74003ff3.js:1799
A @ vendor-5274ce00880a892114c98442cc88aca6.js:3143
c.triggerEvent @ vendor-5274ce00880a892114c98442cc88aca6.js:3073
n.trigger @ vendor-5274ce00880a892114c98442cc88aca6.js:5740
s.send @ vendor-5274ce00880a892114c98442cc88aca6.js:3099
send @ vendor-5274ce00880a892114c98442cc88aca6.js:3254
value @ client-b3e42948e3200b571a87e7aa74003ff3.js:14810
value @ client-b3e42948e3200b571a87e7aa74003ff3.js:11532
value @ client-b3e42948e3200b571a87e7aa74003ff3.js:5295
trigger @ vendor-5274ce00880a892114c98442cc88aca6.js:3613
n @ vendor-5274ce00880a892114c98442cc88aca6.js:3473
n._run @ vendor-5274ce00880a892114c98442cc88aca6.js:5357
n._join @ vendor-5274ce00880a892114c98442cc88aca6.js:5356
n.join @ vendor-5274ce00880a892114c98442cc88aca6.js:5322
h @ vendor-5274ce00880a892114c98442cc88aca6.js:3927
(anonymous) @ vendor-5274ce00880a892114c98442cc88aca6.js:3627
a @ vendor-5274ce00880a892114c98442cc88aca6.js:3845
handleEvent @ vendor-5274ce00880a892114c98442cc88aca6.js:3627
handleEvent @ vendor-5274ce00880a892114c98442cc88aca6.js:3552
(anonymous) @ vendor-5274ce00880a892114c98442cc88aca6.js:3577
dispatch @ vendor-5274ce00880a892114c98442cc88aca6.js:1562
g.handle @ vendor-5274ce00880a892114c98442cc88aca6.js:1557
r @ chunk.7.3063f605868b6fe645c9.js:318
chunk.7.3063f605868b6fe645c9.js:325 TypeError: Failed to fetch
at :1:876
at chunk.7.3063f605868b6fe645c9.js:353
at s. (client-b3e42948e3200b571a87e7aa74003ff3.js:21739)
at u (vendor-5274ce00880a892114c98442cc88aca6.js:1256)
at Generator._invoke (vendor-5274ce00880a892114c98442cc88aca6.js:1254)
at Generator.forEach.e. [as next] (vendor-5274ce00880a892114c98442cc88aca6.js:1263)
at d (client-b3e42948e3200b571a87e7aa74003ff3.js:21718)
at a (client-b3e42948e3200b571a87e7aa74003ff3.js:21747)
Context
Please provide any relevant information about your setup.
- Package Version:5.7.0
- Express Version:4.13.4
- Sequelize Version:5.7.0