on 09-13-2018 3:53 PM
Hi Everyone,
We are working on one Custom SAPUI5 Application development. Whenever I run the app, I see the below error in the sapui5. It is in german language I added the translation also in the below.
Failed to load resource: the server responded with a status of 400 (Bad Request)
jquery.sap.global-dbg.js:999 2018-09-13 18:13:47.924800 [index.html] Error message returned by server could not be parsed -
K @ jquery.sap.global-dbg.js:999
jquery.sap.global-dbg.js:999 2018-09-13 18:13:47.926100 [index.html] The following problem occurred: HTTP request failed400,Bad Request,<?xml version="1.0" encoding="utf-8"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code>005056A509B11ED1B9BF94F386DD82E6</code><message xml:lang="de">Die Data-Services-Anforderung wurde wegen einer deformierten Syntax nicht verstanden.</message></error> -
It is saying, data Services are not found due to deformed syntax. And the url calling is coming by batch as default. it shows not found.
I am using OData v2 model. SAPUI5 version is 1.44.16.
Thank you,
Regards,
Peter.
Hi Sapui5 People,
I had this same problem and the solution was simple...
on Frontend server had this:
"Die Data-Services-Anforderung wurde wegen einer deformierten Syntax nicht verstanden."
In zzz.controller.js file
my variable "sPath" had 1 backslash and code add one more.... then delete one.
before :
this.oModel.remove("/" + sPath, {...})
after :
this.oModel.remove(sPath, {...})
problem solved. 😄
this is how the code is:
happy coding!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.