cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Expected 'OData-Version' header with value '4.0' but received value '4.0;' in response for v4

0 Kudos
229

Hi Team,

I have created freestyle app in Trail BAS using OData service "https://services.odata.org/v4/northwind/northwind.svc/" and trying to get data from available EntitySet in view (sap.m.table).

When I run the app getting records in $batch but throwing below error in console and Data is not displaying in table.

chandan7411_0-1726482004734.png

Please suggest on this, Thanks.

WRoeckelein
Active Participant
well it seems northwinds understanding on how the header value should be filled differs from how UI5 expects this... If I understand https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_Versioning right , northwind service is wrong. But UI5 could be more tolerant... I suggest to file an issue at https://openui5.org/

Accepted Solutions (0)

Answers (0)