Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Invalid JSON found in xsapp or xsaccess in package

$
0
0

Hi Thomas,

 

Yes the problem began after I added the "cors" statement.

 

My previous code was this, quite simple:

 

{          "exposed" : true,          "authentication" : [ { "method" : "Basic" } ]
}

It was in brackets for no particular reason and like that it worked just fine. And then I changed it to this:

 

{          "exposed" : true,          "authentication" : [ { "method" : "Basic" } ],          "cors" :               {                    "enabled" : false               }
}

But this one gives the error. And removing the brackets throws the same error.

 

Thanks for your response.

Blessings.

 

Message was edited by: Jonathan Queipo


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>