Setting slots from client with trigger intent

Hello, I’m Building a website with angular, I used the code below to trigger an intent with the url “http://localhost:5005/conversations/default/trigger_intent

async addSynonyms(synonyms: any, fieldTable: any, fieldColumn: any) {
        const dataAction = JSON.stringify( {
          "name": "add_synonyms",
          "entities":
            [
              {
                  "entity": "fieldTable",
                  "value": fieldTable
              },
              {
                  "entity": "fieldColumn",
                  "value": fieldColumn
              },
              {
                  "entity": "synonyms_list",
                  "value": synonyms
              }
          ]});
        let answer = 'synonyms added successfully !';
        try {
             await this.http.post<any>(this.urlIntent, dataAction).toPromise()
             .then( res => console.log(res)) ;
           } catch (err) {
             answer = 'Error while adding synonyms';
           }
        return answer;
  }

the entities are being well received by the server with confidence 1.0, but the values of the corresponding slots are not set. I have the same problem while trying to run a custom action with API. Endpints file: action_endpoint: url: “http://localhost:5055/webhook

config.yml: language: “en”

pipeline:

  • name: WhitespaceTokenizer
  • name: RegexFeaturizer
  • name: LexicalSyntacticFeaturizer
  • name: CountVectorsFeaturizer
  • name: CountVectorsFeaturizer analyzer: “char_wb” min_ngram: 1 max_ngram: 4
  • name: DIETClassifier epochs: 10
  • name: EntitySynonymMapper policies:
  • name: FormPolicy
  • name: MemoizationPolicy
  • name: TEDPolicy max_history: 5 epochs: 10
  • name: MappingPolicy

and I am sure that the slots and the entities have the same name. Is there somthing wrong with my configuration ?