twitter - Failed to invoke updateStatus. Message payload is of type: NullPayload on Mule Studio -


i'm following tutorial https://www.mulesoft.com/exchange#!/twitter-integration-connector , when try tu send tweet updatestatus message failed invoke updatestatus. message payload of type: nullpayload ,the show user action works not updatestatus

<?xml version="1.0" encoding="utf-8"?>  <mule xmlns:json="http://www.mulesoft.org/schema/mule/json" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:twitter="http://www.mulesoft.org/schema/mule/twitter" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"     xmlns:spring="http://www.springframework.org/schema/beans" version="ee-3.6.0"     xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"     xsi:schemalocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/twitter http://www.mulesoft.org/schema/mule/twitter/current/mule-twitter.xsd http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd http://www.mulesoft.org/schema/mule/json http://www.mulesoft.org/schema/mule/json/current/mule-json.xsd">     <twitter:config name="twitter" accesskey="${twitter.accesskey}" accesssecret="${twitter.accesssecret}" consumerkey="${twitter.consumerkey}" consumersecret="${twitter.consumersecret}" streambaseurl="https://stream.twitter.com/1.1/" sitestreambaseurl="https://sitestream.twitter.com/1.1/" doc:name="twitter"/>     <http:listener-config name="http_listener_configuration" host="localhost" port="8081" basepath="updatestatus" doc:name="http listener configuration"/>     <flow name="twitterflow1">         <http:listener config-ref="http_listener_configuration" path="/" doc:name="http"/>         <twitter:update-status config-ref="twitter" status="mensaje" doc:name="twitter"/>         <json:object-to-json-transformer doc:name="object json"/>     </flow> </mule> 

and stacktrace

exception stack is: 1. 401 response received, no www-authenticate header present (java.lang.illegalstateexception)   com.ning.http.client.providers.grizzly.grizzlyasynchttpprovider$asynchttpclienteventfilter$authorizationhandler:1623 (null) 2. java.lang.illegalstateexception: 401 response received, no www-authenticate header present (java.util.concurrent.executionexception)   org.glassfish.grizzly.impl.safefutureimpl$sync:363 (null) 3. java.util.concurrent.executionexception: java.lang.illegalstateexception: 401 response received, no www-authenticate header present (java.io.ioexception)   org.mule.module.http.internal.request.grizzly.grizzlyhttpclient:282 (null) 4. error sending http request. message payload of type: mulehttpclient$1 (org.mule.api.messagingexception)   org.mule.module.http.internal.request.defaulthttprequester:190 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/messagingexception.html) 

the twitter app has read,write , direct message permission ,but i'm not sure app website field.

it seems there issue www-authenticate header header in mule 3.6.x.

i tried basic twitter flow , works on mule 3.5 not 3.6.

the reported issues are:


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -