I want to update existing feed records using JAVA AdWords API.

I tried but I am getting this error FeedError.DUPLICATE_FEED_NAME I want to make changes in SAME Feed.

Is this even possible?

Code Link: https://www.dropbox.com/home/my%20folder?preview=AddSiteLinksUsingFeeds.java

Error:

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/C:/Users/Shoaib/.m2/repository/com/google/inject/guice/4.2.2/guice-4.2.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [03 Oct 2019 03:17:59,332-requestInfoLogger:WARN:main] Request made: Service: FeedService Method: mutate clientCustomerId: 209-376-1609 URL: https://adwords.google.com/api/adwords/cm/v201809/FeedService Request ID: 000593fee235f2a202ab42d7be091ca3 ResponseTime(ms): 147 OperationsCount: 0 IsFault: true FaultMessage: ApiException{applicationExceptionType=ApiException, errors=[FeedError{apiErrorType=FeedError, errorString=FeedError.DUPLICATE_FEED_NAME, fieldPath=operations[0].operand.name, fieldPathElements=[FieldPathElement{field=operations, index=0}, FieldPathElement{field=operand}, FieldPathElement{field=name}], reason=DUPLICATE_FEED_NAME, trigger=Feed test 7.6}]} [03 Oct 2019 03:17:59,371-soapXmlLogger:INFO:main] SOAP request: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">     <soapenv:Header>         <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809" soapenv:mustUnderstand="0">             <ns1:clientCustomerId>209-376-1609</ns1:clientCustomerId>             <ns1:developerToken>REDACTED</ns1:developerToken>             <ns1:userAgent>unknown (AwApi-Java, AdWords-Axis/4.7.0, Common-Java/4.7.0, Axis/1.4, Java/12, maven)</ns1:userAgent>             <ns1:validateOnly>false</ns1:validateOnly>             <ns1:partialFailure>false</ns1:partialFailure>         </ns1:RequestHeader>     </soapenv:Header>     <soapenv:Body>         <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201809">             <operations>                 <operator>ADD</operator>                 <operand>                     <name>Feed test 7.6</name>                     <attributes>                         <name>Listing ID</name>                         <type>STRING</type>                     </attributes>                     <attributes>                         <name>Listing Name</name>                         <type>STRING</type>                     </attributes>                     <attributes>                         <name>Final URL</name>                         <type>URL_LIST</type>                     </attributes>                     <attributes>                         <name>Image URL</name>                         <type>URL</type>                     </attributes>                     <attributes>                         <name>City name</name>                         <type>STRING</type>                     </attributes>                     <attributes>                         <name>Description</name>                         <type>STRING</type>                     </attributes>                     <attributes>                         <name>Price</name>                         <type>STRING</type>                     </attributes>                     <attributes>                         <name>Property type</name>                         <type>STRING</type>                     </attributes>                     <attributes>                         <name>Listing type</name>                         <type>STRING</type>                     </attributes>                     <attributes>                         <name>Contextual keywords</name>                         <type>STRING_LIST</type>                     </attributes>                     <attributes>                         <name>Address</name>                         <type>STRING</type>                     </attributes>                     <origin>USER</origin>                 </operand>             </operations>         </mutate>     </soapenv:Body> </soapenv:Envelope> [03 Oct 2019 03:17:59,371-soapXmlLogger:INFO:main] SOAP response: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">     <soap:Header>         <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201809">             <requestId>000593fee235f2a202ab42d7be091ca3</requestId>             <serviceName>FeedService</serviceName>             <methodName>mutate</methodName>             <operations>0</operations>             <responseTime>147</responseTime>         </ResponseHeader>     </soap:Header>     <soap:Body>         <soap:Fault>             <faultcode>soap:Client</faultcode>             <faultstring>[FeedError.DUPLICATE_FEED_NAME @ operations[0].operand.name; trigger:'Feed test 7.6']</faultstring>             <detail>                 <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201809">                     <message>[FeedError.DUPLICATE_FEED_NAME @ operations[0].operand.name; trigger:'Feed test 7.6']</message>                     <ApplicationException.Type>ApiException</ApplicationException.Type>                     <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="FeedError">                         <fieldPath>operations[0].operand.name</fieldPath>                         <fieldPathElements>                             <field>operations</field>                             <index>0</index>                         </fieldPathElements>                         <fieldPathElements>                             <field>operand</field>                         </fieldPathElements>                         <fieldPathElements>                             <field>name</field>                         </fieldPathElements>                         <trigger>Feed test 7.6</trigger>                         <errorString>FeedError.DUPLICATE_FEED_NAME</errorString>                         <ApiError.Type>FeedError</ApiError.Type>                         <reason>DUPLICATE_FEED_NAME</reason>                     </errors>                 </ApiExceptionFault>             </detail>         </soap:Fault>     </soap:Body> </soap:Envelope> Request failed due to ApiException. Underlying ApiErrors:   Error 0: FeedError{apiErrorType=FeedError, errorString=FeedError.DUPLICATE_FEED_NAME, fieldPath=operations[0].operand.name, fieldPathElements=[FieldPathElement{field=operations, index=0}, FieldPathElement{field=operand}, FieldPathElement{field=name}], reason=DUPLICATE_FEED_NAME, trigger=Feed test 7.6} 

What are the restrictions for Whatsapp Business API Groups.

Can I send messages all the time, or are these messages also restricted by the 24hr session time. How many groups can I create, could I e.g. create 100 groups, 1 for every person attending some event?

Is there anywhere I can find the pricing for creating these groups?

I am building a Node.js application that receives messages from WhatsApp via Twilio. Sending text messages is not a problem, but when I try to send the current location from the users WhatsApp account I cannot find the coordinates in the request object sent to the server.

This is what I am doing to see what is being sent to the app from Twilio.

app.post('/incoming', (req, res) => { var incomingMessage = req.body.Body; console.log(incomingMessage); }); 

When I share my current location with the app, the request body is empty.

Can anyone shed any light on this or explain how WhatsApp shares a users location within the app?

Thanks.

I'm sending the PDF document to WhatsApp number, which is been successfully sent to the user but the title of the document is getting displayed as Untitled.

WhatsApp Business API version we are using is v2.21.6. I've referred to the documentation of WhatsApp Business API where it explains how one should send the document with ID or link. Documentation link https://developers.facebook.com/docs/whatsapp/api/messages/media

This is my file object to send the file to WhatsApp Number,

const fileDetails = {         mime_type: 'application/pdf',         id: uploadFile.media[0].id(media id),         filename: fileName[3]( file name which we have to show)       }; 

and below is helper function to send the message,

function getMessageByContentType(contentType,   link,   id = '',   filename = '',   caption = '') {   const contentTypeMessageMapper = {     audio: {       type: 'audio',       audio: {         id,       },     },     document: {       type: 'document',       document: {         id,         filename,         caption,       },     },     video: {       type: 'video',       video: {         link,       },     },     image: {       type: 'image',       image: {         id,         link,       },     },   };  //Method to send document to user WhatsApp mobile number  yield whatsAppMessage.sendWhatsappMediaMessageToUser(     bot,     userId, //Mobile number     fileDetails //File object.   );     //POST request     {   "method": "POST",   "json": true,   "headers": {     "content-type": "application/json",     "Authorization": "Auth Token"   },   "body": {     "type": "document",     "document": {       "id": "a0706671-4fe7-49b0-8d1b-bcfb2fc5f7e8",       "filename": "fileName.pdf",       "caption": ""     },     "recipient_type": "individual",     "to": "Mobile Number"   },   "uri": "https://WhatsApp-Business-API-URL/v1/messages",   "rejectUnauthorized": false } 

After uploading binary file to WhatsApp Business API, we are using the ID to send the file to the customer which is getting uploaded successfully without any error message but the filename is coming as "Untitled" and not taking filename from the file object.

I am trying to use whatsapp business api. But the problem is when I run docker-compose up I get the error Mysql not yet started. Though the wadebug tool shows everything correct. I am not able to hit any api eg GET https://localhost:9090/v1/settings/application I am getting connection refused in this request.enter image description here

I have also one more doubt.Am I hitting the right api or is there any different. In their documentation it is written your app hostname. Docker-compose ps shows 0.0.0.0:9000->443. So is it right?

Here is my docker-compose file:

   version: '3' volumes:   whatsappMedia:     driver: local   mysqlData:     driver: local services:   db:     image: mysql:5.7.22     restart: always     environment:       MYSQL_ROOT_PASSWORD: hello123       MYSQL_USER: root       MYSQL_PASSWORD: hello123     expose:         - "33060"     ports:         - "33060:3306"     volumes:      - mysqlData:/var/lib/mysql     network_mode: bridge   wacore:     image: docker.whatsapp.biz/coreapp:v${WA_API_VERSION:?Run docker-compose with env var WA_API_VERSION (ex. WA_API_VERSION=2.25.1 docker-compose <command> <options>)}     command: ["/opt/whatsapp/bin/wait_on_mysql.sh", "/opt/whatsapp/bin/launch_within_docker.sh"]     volumes:      - whatsappMedia:/usr/local/wamedia     env_file:       - db.env     environment:       # This is the version of the docker templates being used to run WhatsApp Business API       WA_RUNNING_ENV_VERSION: v2.2.3       ORCHESTRATION: DOCKER-COMPOSE     depends_on:       - "db"     network_mode: bridge     links:       - db   waweb:     image: docker.whatsapp.biz/web:v${WA_API_VERSION:?Run docker-compose with env var WA_API_VERSION (ex. WA_API_VERSION=2.25.1 docker-compose <command> <options>)}     command: ["/opt/whatsapp/bin/wait_on_mysql.sh", "/opt/whatsapp/bin/launch_within_docker.sh"]     ports:      - "9090:443"     volumes:      - whatsappMedia:/usr/local/wamedia     env_file:       - db.env     environment:       WACORE_HOSTNAME: wacore       # This is the version of the docker templates being used to run WhatsApp Business API       WA_RUNNING_ENV_VERSION: v2.2.3       ORCHESTRATION: DOCKER-COMPOSE     depends_on:       - "db"       - "wacore"     links:       - db       - wacore     network_mode: bridge