java发送消息到云之家提示403
金蝶云社区-mianfeidog
mianfeidog
0人赞赏了该文章 1,883次浏览 未经作者许可,禁止转载编辑于2014年11月28日 16:36:09

我轻应用开发发送消息到云之家的公共号,提示消息如下。而且提供的java发送新闻的那个实例也提示这样的消息。请问如何解决?

log4j:WARN No appenders could be found for logger (org.apache.commons.configuration.ConfigurationUtils).
log4j:WARN Please initialize the log4j system properly.
发送失败,原因:


403 Forbidden

Forbidden


You don't have permission to access /pubacc/pubsend
on this server.


{
"from": {
"no": "10609",
"nonce": 1317307898,
"pub": "XT-cf8229cb-a227-450b-9a22-96138b7d91fb",
"pubtoken": "aeb4290287421820cb3e00c6372e5d8322d331ee",
"time": "2014-11-28 04:21:07"
},
"msg": {
"text": "hello,world",
"url": "http://www.baidu.com"
},
"to": [{
"code": "0",
"no": "10609",
"user": ["0b2b6cce-c53e-11e3-8d13-e41f137ad9f4"]
}],
"type": 5
}