尝试从sharepoint服务器检索文件时出错

尝试从sharepoint服务器检索文件时出错

本文介绍了尝试从sharepoint服务器检索文件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我刚开始学习Sharepoint集成。我在调用时使用以下URL来查看sharepoint文件 


https://< siteurl> / _api / web / getFolderByServerRelativeUrl('/ Folder Name')/ files


不幸的是,http调用低于错误


消息:此系统的外部服务器[key = sharepoint]在调用函数时生成异常[ shpInvoke。来自外部系统的详细信息:java.lang.IllegalArgumentException:com.fasterxml.jackson.core.JsonParseException:意外字符
('<'(代码60)):预期有效值(数字,字符串,数组,对象) ,'true','false'或'null')


我无法理解为什么在没有传递任何字符串/字符时它会说出意外的字符。有人知道这个错误吗?

解决方案

Hello ,

I just started learning Sharepoint integration. I am using the below URL at the invocation to view the sharepoint files 

https://<siteurl>/_api/web/getFolderByServerRelativeUrl('/Folder Name')/files

Unfortunately the http call is throwing below error

message:The external server for this system [key=sharepoint] generated an exception when calling a function [shpInvoke]. Details from external system: java.lang.IllegalArgumentException: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')

I couldn't understand why does it say Unexpected character while am not passing any string/characters. Does someone has any idea of this error?

解决方案


这篇关于尝试从sharepoint服务器检索文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 00:16