amol64546 opened a new issue, #9536:
URL: https://github.com/apache/seatunnel/issues/9536

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   When i want to push data into slack sink, its giving error as 
   {
       "status": "fail",
       "message": "ErrorCode:[API-06], ErrorDescription:[Factory initialize 
failed] - Unable to create a sink for identifier 'Slack sink'."
   }
   
   ### SeaTunnel Version
   
   2.3.11
   
   ### SeaTunnel Config
   
   ```conf
   {
     "env": {
       "job.mode": "BATCH"
     },
     "source": [
       {
         "plugin_name": "FakeSource",
         "tables_configs": [
           {
             "row.num": 1,
             "schema": {
               "fields": {
                 "text": "string"
               }
             },
             "data": [
               {
                 "text": "hello this is from seatunnel"
               }
             ]
           }
         ]
       }
     ],
     "sink": [
       {
           "plugin_name":"SlackSink",
           "webhooks_url":"dummmy webhook",
           "oauth_token":"token",
           "slack_channel":"#all-seatunnel",
           "content_field":"text"
       }
     ]
   }
   ```
   
   ### Running Command
   
   ```shell
   sh /bin/seatunnel-cluster.sh -r master
   sh /bin/seatunnel-cluster.sh -r worker
   ```
   
   ### Error Exception
   
   ```log
   Caused by: java.lang.RuntimeException: Plugin 
PluginIdentifier{engineType='seatunnel', pluginType='sink', 
pluginName='SlackSink'} not found.
       at 
org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery.createPluginInstance(AbstractPluginDiscovery.java:242)
 ~[seatunnel-starter.jar:2.3.11]
       at 
org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery.createPluginInstance(AbstractPluginDiscovery.java:182)
 ~[seatunnel-starter.jar:2.3.11]
       at 
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.lambda$createSinkAction$7(MultipleTableJobConfigParser.java:665)
 ~[seatunnel-starter.jar:2.3.11]
       at 
org.apache.seatunnel.api.table.factory.FactoryUtil.createAndPrepareSink(FactoryUtil.java:217)
 ~[seatunnel-starter.jar:2.3.11]
   ```
   
   ### Zeta or Flink or Spark Version
   
   Zeta version
   
   ### Java or Scala Version
   
   Java 11
   
   ### Screenshots
   
   
![Image](https://github.com/user-attachments/assets/6c490f9c-06b4-4a1d-8b4f-bdbd83a2cff4)
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to