Ansible URI API (JSON-RPC) - ansible

I've a problem with URI module from ansible, maybe someone have an idea what the problem could be?
I try to communicate with I-Doit API (JSON-RPC) by using ansible uri module. My first attempt with curl works fine, whether I try to run curl manually or by using ansible.
# curl manual example
curl --location --request POST 'https://SERVER-FQDN/i-doit/src/jsonrpc.php' \
--header 'Content-Type: application/json' \
--header 'X-RPC-Auth-Session: SESSION-KEY' \
--header 'Cookie: PHPSESSID=SESSION-KEY' \
--data-raw '{
"version": "2.0",
"method": "idoit.version",
"params": {
"apikey": "API-KEY",
"language": "en"
},
"id": 1
}'
# example in ansible
---
- name: CURL REST / JSON-RPC API Call
shell: |
curl -s --noproxy "*" --location --request POST 'https://SERVER-FQDN/i-doit/src/jsonrpc.php' \
--header "Content-Type: application/json" \
--header "X-RPC-Auth-Session: {{ session_key }}" \
--header "Cookie: PHPSESSID= {{ session_key }}" \
--data-raw '{
"version": "2.0",
"method": "idoit.version",
"params": {
"apikey": "{{ api_key }}",
"language": "en"
},
"id": 1
}'
If I try to reproduce the call with the URI module like
- name: REST / JSON-RPC API Call check I-Doit Version
uri:
url: "https://SERVER-FQDN/i-doit/src/jsonrpc.php"
method: post
validate_certs: no
follow_redirects: all
use_proxy: no
timeout: 200
headers:
X-RPC-Auth-Session: "{{ SESSION-KEY }}"
Content-Type: "application/json"
body_format: json
return_content: yes
body: "{{ lookup('file','test.json') }}"
ignore_errors: yes
# test.json content
{
"version": "2.0",
"method": "idoit.version",
"params": {
"apikey": "API-KEY",
"language": "en"
},
"id": 1
}
the request failed with error code -1 and message: "Connection failure: connection was closed before a valid response was received: No status line received - the server has closed the connection"
Is there a difference in usage by URI modul with rest or json-rpc?
thanks for help or ideas
dantegabriel

Related

ansible uri module is throwin a "password not registered error"

while I am trying to tell Ansible to use this curl
curl --location --request POST 'https://34.107.103.175:3009/rest/v1.0/auth' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "sysadmin",
"password": "8529834022607504819"
}'
This will return a -DD-AUTH-TOKEN in the header but I am failing to tell the ReST endpoint the json Body
{
"username": "sysadmin",
"password": "{{DD-Old_Password}}"
}
My ansible approach
vars:
DDVE_public_IP: 34.107.103.175
destination_port: 3009
Instance_id: 8529834022607504819
S3_bucket_name: bucket_for_ddve_6
tasks:
- name: login access token
uri:
validate_certs: false
url: https://{{ DDVE_public_IP }}:{{ destination_port }}/{{ resource_path }}
method: POST
headers:
Content-Type: application/json
body:
username: sysadmin
password: 8529834022607504819
body_format: json
return_content: true
register: rest_post
vars:
resource_path: rest/v1.0/auth
is failing with
TASK [login access token] *********************************************************************************************************************************
fatal: [localhost]: FAILED! => {"access_control_allow_credentials": "true", "access_control_expose_headers": "AUTHORIZATION, X-DD-AUTH-TOKEN, X-DD-JSON-RESPONSE-WITH-ROOT, X-DD-PEER-USERNAME", "cache_control": "no-cache", "changed": false, "content": "{\"details\": \"**** Value of \\\"password\\\" is empty.\", \"code\": 5437}", "content_length": "65", "content_type": "application/json", "elapsed": 0, "json": {"code": 5437, "details": "**** Value of \"password\" is empty."}, "msg": "Status code was 400 and not [200]: HTTP Error 400: Bad Request", "redirected": false, "server": "Data Domain OS", "status": 400, "url": "https://34.107.103.175:3009/rest/v1.0/auth", "x_dd_auth_token": "", "x_dd_uuid": "857cd83f41d01670:68e24c1d986399ff"}
PLAY RECAP ************************************************************************************************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Why does it show this?
I would guess the upstream service is failing due to a type error. YAML coerces [0-9]+ into a formal int scalar; so if your password is entirely digits but should be transmitted as a str, you'll need to explicitly quote it:
body:
username: sysadmin
password: '8529834022607504819'
if you would prefer to use the var, you'll need to similarly "cast" it because the var is also an int for the same YAML coercion reason:
body:
username: sysadmin
password: "{{ Instance_id | string }}"
(be aware that the " in that example is merely protecting the jinja2 mustaches, and doesn't have anything to do with the type of the inner variable)

set bitbucket branch permission with ansible url module

I am trying to convert the following curl to ansible play:
curl -u user:password -v -X POST -d #restrictions.json -H
"Content-Type: application/vnd.atl.bitbucket.bulk+json"
http://BitBucketServer/rest/branch-permissions/2.0/projects/project/repos/my-repo/restrictions
Ansible play:
- name: Branch permission
uri:
url: http://172.28.200.66:7990/rest/branch-permissions/2.0/projects/V10/repos/my-repo/restrictions
method: POST
user: "{{username}}"
password: "{{password}}"
src: restrictions.json
force_basic_auth: yes
status_code: 400
body_format: json
It is failing with the following error:
"errors": [{
"context": null,
"exceptionName": "org.codehaus.jackson.map.JsonMappingException",
"message": "Can not deserialize instance of com.atlassian.stash.internal.repository.ref.restriction.rest.RestRestrictionRequest out of START_ARRAY token\n at [Source: com.atlassian.stash.internal.web.util.web.CountingServletInputStream#3ab1a43; line: 1, column: 1]"
}]
}, "msg": "HTTP Error 400: Bad Request",
I solved the issue by adding:
headers:
Content-Type: "application/vnd.atl.bitbucket.bulk+json"

Hyperledger composer REST API does not return transaction id

Why is my composer REST server not returning the transaction id of the request, or where can I find the id?
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ \
"$class": "org.example.biznet.SampleAsset", \
"assetId": "1", \
"value": "103300" \
}' 'http://localhost:3000/api/SampleAsset'
Response:
{
"date": "Sun, 04 Feb 2018 15:59:10 GMT",
"x-content-type-options": "nosniff",
"etag": "W/\"52-0IlZYwJKBE6+rHqbXGCNVeELkQ0\"",
"x-download-options": "noopen",
"x-frame-options": "DENY",
"content-type": "application/json; charset=utf-8",
"access-control-allow-origin": "http://localhost:3000",
"access-control-allow-credentials": "true",
"connection": "keep-alive",
"vary": "Origin, Accept-Encoding",
"content-length": "82",
"x-xss-protection": "1; mode=block"
}
As I can see in the pull request it should be solved: https://github.com/hyperledger/composer/pull/843
My versions:
├── composer-cli#0.16.3
├── composer-playground#0.16.3
├── composer-rest-server#0.16.3
It looks like you have submitted a POST request to an Asset (SampleAsset) which being an Asset does not generate a Transaction ID. If you POST to a Transaction you will get a Transaction ID - and you will see it in the Response Body, not the Response Header. See example below.

Repeating post curl request until answer is 200 in bash

I've got this script in the user-data of an ec2 linux. Is there a way to do a while to "loop" in this script so that it keeps doing the curl requests every 5 minutes until the requests return 200?
#!/bin/bash
sed -i -e '/<Name>loadbalanceServerIP<\/Name>/,/<Value>/s/<Value>[^<]*/<Value>52.53.197.227/' /home/wowza/conf/Server.xml
edge_ip=`curl -s http://169.254.169.254/latest/meta-data/public-ipv4`
curl --digest -u 'wowza:i-0fbfeb0718fab03b8' -X POST --header 'Accept:application/json; charset=utf-8' --header 'Content-type:application/json; charset=utf-8' http://52.53.197.227:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/pushpublish/mapentries/letitoptier_source -d'
{
"restURI": "http://52.53.197.227:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/pushpublish/mapentries/letitoptier_source",
"serverName": "_defaultServer_",
"sourceStreamName": "letitoptier_source",
"entryName": "letitoptier_source_target",
"profile": "rtmp",
"host": "'$edge_ip'",
"application": "live",
"userName": "wowza",
"password": "i-0fbfeb0718fab03b8",
"streamName": "letitoptier_source"
}'
curl --digest -u 'wowza:i-0fbfeb0718fab03b8' -X POST --header 'Accept:application/json; charset=utf-8' --header 'Content-type:application/json; charset=utf-8' http://52.53.197.227:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/pushpublish/mapentries/letitoptier_160p -d'
{
"restURI": "http://52.53.197.227:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/pushpublish/mapentries/letitoptier_160p",
"serverName": "_defaultServer_",
"sourceStreamName": "letitoptier_160p",
"entryName": "letitoptier_160p_target",
"profile": "rtmp",
"host": "'$edge_ip'",
"application": "live",
"userName": "wowza",
"password": "i-0fbfeb0718fab03b8",
"streamName": "letitoptier_160p"
}'
How can I know if it ran and what result or message it returned?
Thank you
If you are unsure whether the User Data script executed, log files are available at:
Linux: /var/log/cloud-init-output.log
Windows: C:\cfn

Teams connector - ActionCard of type HttpPost returns Forbidden

I currently working on a Microsoft Teams Connector. The connecting flow and sending messages works fine, but when I have problems with actions of type 'HttpPOST'. The buttons are shown correctly, but when I click on it I get an error response: An unexpected error(Type = Forbidden) occurred. Please try again.
The call never reach the ngrok portal, so I think the error is related to how I send the message or how I configure the connector, but I couldn't find a solution.
I post:
{
"#type": "MessageCard",
"#context": "https://schema.org/extensions",
"summary": "Card \"Test card\"",
"themeColor": "0078D7",
"title": "Card created: \"Name of card\"",
"sections": [
{
"activityTitle": "Miguel Garcia",
"activitySubtitle": "9/13/2016, 3:34pm",
"activityImage": "https://connectorsdemo.azurewebsites.net/images/MSC12_Oscar_002.jpg",
"facts": [
{
"name": "Board:",
"value": "Name of board"
},
{
"name": "List:",
"value": "Name of list"
},
{
"name": "Assigned to:",
"value": "(none)"
},
{
"name": "Due date:",
"value": "(none)"
}
],
"text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
}
],
"potentialAction": [
{
"#type": "ActionCard",
"name": "Add a comment",
"inputs": [
{
"#type": "TextInput",
"id": "comment",
"isMultiline": true,
"title": "Enter your comment"
}
],
"actions": [
{
"#type": "HttpPOST",
"name": "OK",
"target": "https://401dd384.ngrok.io/teamshook/actions"
}
]
},
{
"#type": "OpenUri",
"name": "View in web",
"targets": [
{
"os": "default",
"uri": "http://google.com"
}
]
}
]
}
I also set the ngrok url in the Connectors Dev Portal as valid domain and action url.
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.5/MicrosoftTeams.schema.json",
"manifestVersion": "1.5",
"id": "9f849570-f95a-11e9-a986-c11672ed410c",
"version": "0.0.1",
"packageName": "test",
"developer": {
"name": "Test GmbH",
"websiteUrl": "https://test.io",
"privacyUrl": "https://www.test.io/en/privacy-policy/",
"termsOfUseUrl": "https://www.test.io/en/terms-and-conditions/"
},
"name": {
"short": "test",
"full": "test"
},
"description": {
"short": "The test connector for the development environment.",
"full": "The test connector for the development environment."
},
"icons": {
"outline": "blue-bot_192px.png",
"color": "blue-bot_32px.png"
},
"accentColor": "#D85028",
"configurableTabs": [
{
"configurationUrl": "https://401dd384.ngrok.io/testTab/config.html",
"canUpdateConfiguration": true,
"scopes": [
"team"
]
}
],
"staticTabs": [],
"bots": [
{
"botId": "cc7e39e5-a336-43ec-956f-8c4a3326faae",
"needsChannelSelector": true,
"isNotificationOnly": false,
"scopes": [
"team",
"personal"
],
"commandLists": [
{
"scopes": [
"team",
"personal"
],
"commands": [
{
"title": "Help",
"description": "Shows help information"
}
]
}
]
}
],
"connectors": [
{
"connectorId": "c16f86d9-12b6-40ff-8314-745c4023f48c",
"configurationUrl": "https://401dd384.ngrok.io/testConnector/config.html",
"scopes": [
"team"
]
}
],
"composeExtensions": [],
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": [
"401dd384.ngrok.io"
]
}
I inspect the web version of Teams and this post happen when I clicked the button:
curl -X POST \ 'https://teams.microsoft.com/api/mt/emea/beta/users/connectors/xxx#thread.skype;messageid=xxx/executeAction' \
-H 'Postman-Token: 980caf3b-d35c-4b7f-bb64-6e36f1adb774' \
-H 'accept: application/json, text/plain, */*' \
-H 'accept-encoding: gzip, deflate, br' \
-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'authority: teams.microsoft.com' \
-H 'authorization: Bearer xxx' \
-H 'cache-control: no-cache,no-cache' \
-H 'content-type: application/json;charset=UTF-8' \
-H 'cookie: display-culture=en-GB; MC1=GUID=47e1e76e0c7d4d6b9e5c726a58ea4556&HASH=47e1&LV=201909&V=4&LU=1569223617444; market=DE; MSCC=1569223618; smcflighting=100; clocale=en-gb; WT_FPC=id=2f7aca4e774166b49f41572934143837:lv=1572934143837:ss=1572934143837; MicrosoftApplicationsTelemetryDeviceId=9d964974-4082-a701-6c6b-41477ff7e6bd; MicrosoftApplicationsTelemetryFirstLaunchTime=1573132947473; MSFPC=GUID=47e1e76e0c7d4d6b9e5c726a58ea4556&HASH=47e1&LV=201909&V=4&LU=1569223617444; MUID=0D348A65E5EC65C502F287AFE4266466; MUIDB=0D348A65E5EC65C502F287AFE4266466; TSPREAUTHCOOKIE=true; deviceId=28a0b2a0-e350-46f2-bc29-b3b68e5149b1; firstTimeLaunch=1573464555718; TSREGIONCOOKIE=emea; minimumVersionClientUpdateTries=0; authtoken=Bearer=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJCOENlRlZxeWFHckdOdWVoSklpTDRkZmp6dyIsImtpZCI6IkJCOENlRlZxeWFHckdOdWVoSklpTDRkZmp6dyJ9.eyJhdWQiOiJodHRwczovL2FwaS5zcGFjZXMuc2t5cGUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvMzYyMDdkMTMtNTA1OC00Njg4LThiZjktMzIwMTM5OTk1ODk0LyIsImlhdCI6MTU3MzQ2NDI1NiwibmJmIjoxNTczNDY0MjU2LCJleHAiOjE1NzM0NjgxNTYsImFjY3QiOjAsImFjciI6IjEiLCJhaW8iOiJBU1FBMi84TkFBQUF6T1lpQ0JMdW1VM3JwZHNYUXNDT1JPWHp0a0lqRGtLY0YzN2E2U1RIYTYwPSIsImFtciI6WyJwd2QiXSwiYXBwaWQiOiI1ZTNjZTZjMC0yYjFmLTQyODUtOGQ0Yi03NWVlNzg3ODczNDYiLCJhcHBpZGFjciI6IjAiLCJmYW1pbHlfbmFtZSI6IkJvcm5lbWFubiIsImdpdmVuX25hbWUiOiJTdmVuIEJvcmlzIiwiaXBhZGRyIjoiOTAuMTg3LjQ4LjQ5IiwibmFtZSI6IlN2ZW4gQm9yaXMgQm9ybmVtYW5uIiwib2lkIjoiZjdiYzI1ZTUtZWFhZi00NzBlLWIyMTgtZjAyYWEzMDAwZDcxIiwicHVpZCI6IjEwMDMzRkZGOTMwMzMxMkYiLCJzY3AiOiJ1c2VyX2ltcGVyc29uYXRpb24iLCJzaWduaW5fc3RhdGUiOlsia21zaSJdLCJzdWIiOiIxZ0NqOTNUZFpCV1hkOU1OQnRxUGVXR1l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mVuX25hbWUiOiJTdmVuIEJvcmlzIiwiaXBhZGRyIjoiOTAuMTg3LjQ4LjQ5IiwibmFtZSI6IlN2ZW4gQm9yaXMgQm9ybmVtYW5uIiwibm9uY2UiOiI3M2FmZjBhYy00YTVjLTQwNWMtOTkzOC1kZWIzY2I0ZjA2NDkiLCJvaWQiOiJmN2JjMjVlNS1lYWFmLTQ3MGUtYjIxOC1mMDJhYTMwMDBkNzEiLCJwdWlkIjoiMTAwMzNGRkY5MzAzMzEyRiIsInN1YiI6IjFjM1czZGhVMWcwNklTV21tdGE3NUxsdDVBclpIZ1VVXzRzWGhuQ19FUUEiLCJ0aWQiOiIzNjIwN2QxMy01MDU4LTQ2ODgtOGJmOS0zMjAxMzk5OTU4OTQiLCJ1bmlxdWVfbmFtZSI6InN2ZW5AaGVsbG9ocS5pbyIsInVwbiI6InN2ZW5AaGVsbG9ocS5pbyIsInV0aSI6InJrVWdNeU1TODBHNHF3azY0NHByQUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfbXBjaSI6MjU5MjAwLCJ4bXNfcGNpIjozNjAwfQ.aLKqzoCn4-I0VeGeM_MvHITyyfH6b-2gqJYB3ZvhYlhANojYSh6hBY1rwzaUYboeSpPbflzqpWlbZFUsowLHfEOdwRbLQmYcGBKWx10YkwAVyNDQd4hvz61MrITyZqY3iUuNf8hqAeZSuGHgE-i7nLqEydTQrvnQFLG_qMF9KWhMidiT7p2ULyBdNhvwkDEHsq378lykz4ZCvk1tVOzWETcv9xz_zFP0tffz6aHZ4FTsK2lkZuHmSMxwTNzGaXwZYEP2rzXbuz70GMRdJRmAfMJMzMD97IeV5MD3p230-3dY_M-hZp9EyAb2h9sACDQ7XYBMeTFTzCVYfkJoSOEA_Q; ARRAffinity=0b20ba151314f86a0737223ef48ad813dc527c505a17f75b2d96c6573ffe5df1' \
-H 'origin: https://teams.microsoft.com' \
-H 'pragma: no-cache' \
-H 'referer: https://teams.microsoft.com/_?lm=deeplink&lmsrc=homePageWeb&cmpid=WebSignIn' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: same-origin' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87 Safari/537.36' \
-H 'x-ms-client-env: msteams-web-prod-euno-01' \
-H 'x-ms-client-type: web' \
-H 'x-ms-client-version: 1415/1.0.0.2019110122' \
-H 'x-ms-scenario-id: 505' \
-H 'x-ms-session-id: 995133f1-466e-6584-adb4-116d0c58a9d1' \
-H 'x-ms-user-type: user' \
-H 'x-ringoverride: general' \
-H 'x-skypetoken: xxx' \
-b 'display-culture=en-GB; MC1=GUID=47e1e76e0c7d4d6b9e5c726a58ea4556&HASH=47e1&LV=201909&V=4&LU=1569223617444; market=DE; MSCC=1569223618; smcflighting=100; clocale=en-gb; WT_FPC=id=2f7aca4e774166b49f41572934143837:lv=1572934143837:ss=1572934143837; MicrosoftApplicationsTelemetryDeviceId=9d964974-4082-a701-6c6b-41477ff7e6bd; MicrosoftApplicationsTelemetryFirstLaunchTime=1573132947473; MSFPC=GUID=47e1e76e0c7d4d6b9e5c726a58ea4556&HASH=47e1&LV=201909&V=4&LU=1569223617444; MUID=0D348A65E5EC65C502F287AFE4266466; MUIDB=0D348A65E5EC65C502F287AFE4266466; TSPREAUTHCOOKIE=true; deviceId=28a0b2a0-e350-46f2-bc29-b3b68e5149b1; firstTimeLaunch=1573464555718; TSREGIONCOOKIE=emea; minimumVersionClientUpdateTries=0; authtoken=Bearer=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJCOENlRlZxeWFHckdOdWVoSklpTDRkZmp6dyIsImtpZCI6IkJCOENlRlZxeWFHckdOdWVoSklpTDRkZmp6dyJ9.eyJhdWQiOiJodHRwczovL2FwaS5zcGFjZXMuc2t5cGUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvMzYyMDdkMTMtNTA1OC00Njg4LThiZj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mlxdWVfbmFtZSI6InN2ZW5AaGVsbG9ocS5pbyIsInVwbiI6InN2ZW5AaGVsbG9ocS5pbyIsInV0aSI6InJrVWdNeU1TODBHNHF3azY0NHByQUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfbXBjaSI6MjU5MjAwLCJ4bXNfcGNpIjozNjAwfQ.aLKqzoCn4-I0VeGeM_MvHITyyfH6b-2gqJYB3ZvhYlhANojYSh6hBY1rwzaUYboeSpPbflzqpWlbZFUsowLHfEOdwRbLQmYcGBKWx10YkwAVyNDQd4hvz61MrITyZqY3iUuNf8hqAeZSuGHgE-i7nLqEydTQrvnQFLG_qMF9KWhMidiT7p2ULyBdNhvwkDEHsq378lykz4ZCvk1tVOzWETcv9xz_zFP0tffz6aHZ4FTsK2lkZuHmSMxwTNzGaXwZYEP2rzXbuz70GMRdJRmAfMJMzMD97IeV5MD3p230-3dY_M-hZp9EyAb2h9sACDQ7XYBMeTFTzCVYfkJoSOEA_Q; ARRAffinity=0b20ba151314f86a0737223ef48ad813dc527c505a17f75b2d96c6573ffe5df1' \
-d '{"inputParameters":[],"actionId":"e57e17c4-7b31-44ad-9062-8efc53c9a6b1","potentialAction":"{\"#type\":\"HttpPOST\",\"#id\":\"e57e17c4-7b31-44ad-9062-8efc53c9a6b1\",\"name\":\"Approve\",\"target\":\"https://401dd384.ngrok.io/teamshook/actions\",\"headers\":[{}],\"body\":\"Test Body\",\"bodyContentType\":\"\"}","name":"action/connector","integrationId":"lo6r5tcyqu","meta":"{\"connectorSenderGuid\":\"c16f86d9-12b6-40ff-8314-745c4023f48c\",\"providerAccountUniqueId\":null,\"connectorConfigurationAlternateId\":\"c36080ff202e4efab506e80383684041\"}","clientInfo":{"locale":"en-gb","country":"gb","platform":"Web","clientVersion":"1415/1.0.0.2019110122"}}'
We also tried different message formats and different users, but without any success.
If someone has an idea why that happen it would really cool to help us.
Thanks a lot.
---- edit
The captured curl of the executeAction call:
curl 'https://teams.microsoft.com/api/mt/emea/beta/users/connectors/19:2ff959fb46384b60806b4a3063940924#thread.skype;messageid=1574674903186/1574674903186/executeAction' -H 'authority: teams.microsoft.com' -H 'pragma: no-cache' -H 'cache-control: no-cache' -H 'x-ms-session-id: 35b0ec8d-066c-08cb-3abc-ea78a50b48cf' -H 'x-ms-scenario-id: 439' -H 'x-ms-user-type: user' -H 'x-ms-client-env: msteams-web-prod-ukso2-02' -H 'x-ms-client-type: web' -H 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJCOENlRlZxeWFHckdOdWVoSklpTDRkZmp6dyIsImtpZCI6IkJCOENlRlZxeWFHckdOdWVoSklpTDRkZmp6dyJ9.eyJhdWQiOiJodHRwczovL2FwaS5zcGFjZXMuc2t5cGUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvMzYyMDdkMTMtNTA1OC00Njg4LThiZjktMzIwMTM5OTk1ODk0LyIsImlhdCI6MTU3NDY3MjMwMSwibmJmIjoxNTc0NjcyMzAxLCJleHAiOjE1NzQ2NzYyMDEsImFjY3QiOjAsImFjciI6IjEiLCJhaW8iOiI0MlZnWU1ncFRwbWw0ZU9uUDhVaWNOMU12NU9WdFVXbGo4Ny9ybDRVSE1WWi9PWlFjVFFBIiwiYW1yIjpbInB3ZCJdLCJhcHBpZCI6IjVlM2NlNmMwLTJiMWYtNDI4NS04ZDRiLTc1ZWU3ODc4NzM0NiIsImFwcGlkYWNyIjoiMCIsImZhbWlseV9uYW1lIjoiTGV3YW5kb3dza2kiLCJnaXZlbl9uYW1lIjoiRWlrZSIsImlwYWRkciI6IjkwLjE4Ny40OC40OSIsIm5hbWUiOiJFaWtlIExld2FuZG93c2tpIiwib2lkIjoiOGFjMDg4Y2YtZDcyZi00MWU0LTljNjgtMGU5NjdiMjUzNWI0IiwicHVpZCI6IjEwMDMzRkZGQTA2NTYxMkIiLCJzY3AiOiJ1c2VyX2ltcGVyc29uYXRpb24iLCJzdWIiOiJ0WW54RlR2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I_eW8PVjfrVGJnDcEXOH2YqFT71EwKMzUazGmayRqJh8npoAOJpL7LHRZyYo5KArOQrnN87eS9eCOEWGZtGQyt7goLD7A9CiaBeRovwG-OafHMnQOI1mLIlpvEEz5kxFp43h4d4O-l2YmY0CBj5MxlDMPqXnYXAyV8atwa0N0GR_PIdYvXCbl_69EPQ' -H 'accept: application/json, text/plain, */*' -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36' -H 'x-ms-client-version: 1415/1.0.0.2019111310' -H 'x-ringoverride: general' -H 'origin: https://teams.microsoft.com' -H 'sec-fetch-site: same-origin' -H 'sec-fetch-mode: cors' -H 'referer: https://teams.microsoft.com/_' -H 'accept-encoding: gzip, deflate, br' -H 'accept-language: en-US,en;q=0.9,de;q=0.8' -H $'cookie: optimizelyEndUserId=oeu1529660782443r0.2799079385478569; IR_PI=1529660786364.usqgowm9e9g; brwsr=ef21e579-7cd8-3c29-bada-c9967030ccb9; LPVID=RmMmFkNjk5ZmRmZWVjNzBk; display-culture=de-DE; _ga=GA1.2.993109843.1535539108; WRUIDCD03072018=1948513313079677; __gads=ID=aa5a04581235989c:T=1547817653:S=ALNI_MZ__N-eFcHFk2f7gcWVfLEhcVtVJg; _mkto_trk=id:157-GQE-382&token:_mch-microsoft.com-1557562473465-90230; MC1=GUID=1809430531dc470ab5889c2130829947&HASH=1809&LV=201906&V=4&LU=1561124815979; _fbp=fb.1.1561386017962.594814471; MSCC=1564056930; ctm={\'pgv\':8232991868068086|\'vst\':3309208493223749|\'vstr\':5569381663943377|\'intr\':1568375851503|\'v\':1|\'lvst\':71908}; MUID=30503BCD438C6B431394362F478C68A1; WT_FPC=id=2ab27edf110839692921535511354465:lv=1570156567867:ss=1570156567867; MUIDB=30503BCD438C6B431394362F478C68A1; clocale=en-us; aamoptsegs=aam%3D10802490; AMCV_EA76ADE95776D2EC7F000101%40AdobeOrg=-179204249%7CMCIDTS%7C18028%7CMCMID%7C85519884052926733562433929802324639263%7CMCAAMLH-1573748769%7C6%7CMCAAMB-1573825495%7CRKhpRz8krg2tLO6pguXWp5olkAcUniQYPHaMWWgdJ3xzPWQmdj0y%7CMCOPTOUT-1573227895s%7CNONE%7CMCAID%7C2DD716958530F6F7-40000306A0019702%7CvVersion%7C3.3.0%7CMCCIDH%7C-1662673240; utag_main=v_id:016b89dbe48a008fafa26738cac003073007d06b00978$_sn:6$_ss:1$_st:1573228821833$ses_id:1573227021833%3Bexp-session$_pn:1%3Bexp-session; G_ENABLED_IDPS=google; TSPREAUTHCOOKIE=true; deviceId=8036815e-0e2e-4aa0-9e95-7034718e0a65; firstTimeLaunch=1573228504173; TSREGIONCOOKIE=emea; TSAUTHCOOKIE=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJCOENlRlZxeWFHckdOdWVoSklpTDRkZmp6dyIsImtpZCI6IkJCOENlRlZxeWFHckdOdWVoSklpTDRkZmp6dyJ9.eyJhdWQiOiI1ZTNjZTZjMC0yYjFmLTQyODUtOGQ0Yi03NWVlNzg3ODczNDYiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC8zNjIwN2QxMy01MDU4LTQ2ODgtOGJmOS0zMjAxMzk5OTU4OTQvIiwiaWF0IjoxNTc0NjcyMjk5LCJuYmYiOjE1NzQ2NzIyOTksImV4cCI6MTU3NDY3NjE5OSwiYWNjdCI6MCwiYW1yIjpbInB3ZCJdLCJmYW1pbHlfbmFtZSI6Ikxld2FuZG93c2tpIiwiZ2l2ZW5fbmFtZSI6IkVpa2UiLCJpcGFkZHIiOiI5MC4xODcuNDguNDkiLCJuYW1lIjoiRWlrZSBMZXdhbmRvd3NraSIsIm5vbmNlIjoiZmI1YmM3M2ItNzE0OS00NzJhLTljYTktODA1NzcyOTRkZmIwIiwib2lkIjoiOGFjMDg4Y2YtZDcyZi00MWU0LTljNjgtMGU5NjdiMjUzNWI0IiwicHVpZ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ft.com; files-version=20191015024; visitBotInputMenuInChannel28%3Acc7e39e5-a336-43ec-956f-8c4a3326faae=firsttimevisit; sessionId=35b0ec8d-066c-08cb-3abc-ea78a50b48cf; ARRAffinity=92d0c4513bf71e4bdf5bd11c260c635040e50a681c1c4633e279ddba09044679' --data-binary '{"inputParameters":[{"id":"comment","value":"123123"}],"actionId":"faa584fb-532c-4c72-a8a3-57828dcd7ff6","potentialAction":"{\"#type\":\"HttpPOST\",\"#id\":\"faa584fb-532c-4c72-a8a3-57828dcd7ff6\",\"name\":\"OK\",\"target\":\"https://webhook.site/9375df39-4c54-4929-9d04-769d1d54cde8\",\"headers\":[],\"body\":\"\",\"bodyContentType\":\"\"}","name":"action/connector","integrationId":"ujl4uzt1op","meta":"{\"connectorSenderGuid\":\"9cbc95ef-5805-49d6-916a-b00d607986b0\",\"providerAccountUniqueId\":null,\"connectorConfigurationAlternateId\":\"febcfc0a762e4010a026124d9394bebd\"}","clientInfo":{"locale":"en-us","country":"us","platform":"Web","clientVersion":"1415/1.0.0.2019111310"}}' --compressed
And here is the log of the response:
precompiled-web-worker-cea5e26e7cd2899905ea.js:38 2019-11-25T09:41:57.638Z cdlwebworker: {"component":"CDLStateMachine","hostRendererId":"cdlwebworker","requestType":"database","message":"The state machine for handler tasks 0.10999999358318746 to be ready to process requests"}
precompiled-web-worker-cea5e26e7cd2899905ea.js:38 2019-11-25T09:41:58.442Z cdlwebworker: {"component":"CDLStateMachine","hostRendererId":"cdlwebworker","requestType":"database","message":"The state machine for handler tasks 0.03500000457279384 to be ready to process requests"}
angular.min.js:98 POST https://teams.microsoft.com/api/mt/emea/beta/users/connectors/19:2ff959fb46384b60806b4a3063940924#thread.skype;messageid=1574674903186/1574674903186/executeAction 403
(anonymous) # angular.min.js:98
r # angular.min.js:93
(anonymous) # angular.min.js:90
f # angular.min.js:126
(anonymous) # angular.min.js:126
$eval # angular.min.js:141
$digest # angular.min.js:138
(anonymous) # msteams-web-ng1-services.min.js:1
$apply # angular.min.js:141
(anonymous) # angular.min.js:269
dispatch # jquery.min.js:1
(anonymous) # jquery.min.js:1
angular.min.js:113 2019-11-25T09:42:03.490Z [O365ActionPaneController.makeHttpPOSTRequestForConnector()] Http invoke failed: {"data":{"errorCode":"Forbidden","message":"An unexpected error(Type = Forbidden) occurred. Please try again."},"status":403,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"url":"https://teams.microsoft.com/api/mt/emea/beta/users/connectors/19:2ff959fb46384b60806b4a3063940924#thread.skype;messageid=1574674903186/1574674903186/executeAction","data":{"inputParameters":[{"id":"comment","value":"123123"}],"actionId":"faa584fb-532c-4c72-a8a3-57828dcd7ff6","potentialAction":"{\"#type\":\"HttpPOST\",\"#id\":\"faa584fb-532c-4c72-a8a3-57828dcd7ff6\",\"name\":\"OK\",\"target\":\"https://webhook.site/9375df39-4c54-4929-9d04-769d1d54cde8\",\"headers\":[],\"body\":\"\",\"bodyContentType\":\"\"}","name":"action/connector","integrationId":"ujl4uzt1op","meta":"{\"connectorSenderGuid\":\"9cbc95ef-5805-49d6-916a-b00d607986b0\",\"providerAccountUniqueId\":null,\"connectorConfigurationAlternateId\":\"febcfc0a762e4010a026124d9394bebd\"}","clientInfo":{"locale":"en-us","country":"us","platform":"Web","clientVersion":"1415/1.0.0.2019111310"}},"headers":{"X-Skypetoken":"pii","Authorization":"pii","Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8","X-RingOverride":"general","x-ms-scenario-id":"439","x-ms-user-type":"user","x-ms-client-type":"web","x-ms-client-env":"msteams-web-prod-ukso2-02","x-ms-client-version":"1415/1.0.0.2019111310","x-ms-session-id":"35b0ec8d-066c-08cb-3abc-ea78a50b48cf"},"counter":"ext_actionable_card_http_post","decrementNetworkRequests":null,"hostName":"teams.microsoft.com"},"statusText":""}
(anonymous) # angular.min.js:113
(anonymous) # msteams-web-ng1-services.min.js:1
(anonymous) # msteams-web-ng1-services.min.js:1
(anonymous) # msteams-web-ng1.min.js:1
f # angular.min.js:126
(anonymous) # angular.min.js:126
$eval # angular.min.js:141
$digest # angular.min.js:138
(anonymous) # msteams-web-ng1-services.min.js:1
$apply # angular.min.js:141
(anonymous) # angular.min.js:92
x # angular.min.js:96
(anonymous) # angular.min.js:97
load (async)
(anonymous) # angular.min.js:97
r # angular.min.js:93
(anonymous) # angular.min.js:90
f # angular.min.js:126
(anonymous) # angular.min.js:126
$eval # angular.min.js:141
$digest # angular.min.js:138
(anonymous) # msteams-web-ng1-services.min.js:1
$apply # angular.min.js:141
(anonymous) # angular.min.js:269
dispatch # jquery.min.js:1
(anonymous) # jquery.min.js:1
precompiled-web-worker-cea5e26e7cd2899905ea.js:38 2019-11-25T09:42:28.459Z cdlwebworker: {"component":"CDLStateMachine","hostRendererId":"cdlwebworker","requestType":"database","message":"The state machine for handler tasks 0.09499999578110874 to be ready to process requests"}

Resources