技术文章 - CS335430
错误“ 找不到预期的令牌'EOF'”和“URI 格式错误。”使用 POSTMAN 执行 ODATA 请求时
已修改: 16-Jan-2023
适用于
- Windchill Navigate (formerly ThingWorx Navigate) 8.5.0
说明
使用 POSTMAN 执行 ODATA 请求时报告以下错误
- 在 MethodServer.log 中:
未找到预期的标记“EOF”。
在 org.apache.olingo.server.core.uri.parser.ParserHelper.requireNext(ParserHelper.java:102)
在 org.apache.olingo.server.core.uri.parser.ParserHelper.requireTokenEnd(ParserHelper.java:108)
在 org.apache.olingo.server.core.uri.parser.ResourcePathParser.boundOperationOrTypeCast(ResourcePathParser.java:297)
在 org.apache.olingo.server.core.uri.parser.ResourcePathParser.parsePathSegment(ResourcePathParser.java:99)
在 org.apache.olingo.server.core.uri.parser.ParserHelper.requireNext(ParserHelper.java:102)
在 org.apache.olingo.server.core.uri.parser.ParserHelper.requireTokenEnd(ParserHelper.java:108)
在 org.apache.olingo.server.core.uri.parser.ResourcePathParser.boundOperationOrTypeCast(ResourcePathParser.java:297)
在 org.apache.olingo.server.core.uri.parser.ResourcePathParser.parsePathSegment(ResourcePathParser.java:99)
- 在 POSTMAN 结果中:
{
“错误”: {
“代码”:空,
"message": " URI 格式错误。"
&rt;
&rt;
“错误”: {
“代码”:空,
"message": " URI 格式错误。"
&rt;
&rt;
这是文章 335430 的 PDF 版本,可能已过期。最新版本 CS335430