No 'Access-Control-Allow-Origin' header is present on the requested resource

Hello Mark,
I have table “tblRewards” with various fields, using “Save” api trying to store the data.
Below is the syntax along with constructor.
var reward = new tblRewards( {
nVendorID : Voucherlist.nVendorID,
strVendorName : Voucherlist.strVendorName,
strVendorEmailID : Voucherlist.strEmailID,
strUserEmailID : emailID,
strCategoryID : Voucherlist.strCategoryID,
strTermsConditions : Voucherlist.strTermsConditions,
strRewards : Voucherlist.strRewards,
strUtilised : “false”,
strNotUsedFilePath : Voucherlist.strNotUsedFilePath,
strUsedFilePath : Voucherlist.strUsedFilePath
});
In strNotUsedFilePath and strUsedFilePath field contains the image link.
Backendless.Persistence.of(tblRewards).save(reward);
XMLHttpRequest cannot load https://api.backendless.com/v1/data/tblRewards.
Error Message :
No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access. The response had HTTP status code 502.
Please let me know the solution
Thanks in advance.
Regards
Anith

please provide your application id

Hello Sergey,

Here is my application Id

3F6DF7EF-3C30-7A53-FF56-094E1263C000

please send us an example on support@backendless.com that demonstrates this issue

Hi anithraj,

I have reproduced your problem. We will try to help you as soon as possible.
Regards Ilya

Ok. It looks like everything works fine now.
I’ve just refreshed the types of those two columns ‘strNotUsedFilePath’ and ‘strUsedFilePath’
Regards Ilya

Hello Ilya,

How its working fine now. What was the problem ?
Do i need to change anything from my side?

Regards
Anith

You should not change anything.
Please, just try you to run your code now and if it will not work let us know.
Regards Ilya